You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mi_option_arena_eager_commit, // eager commit arenas? Use 2 to enable just on overcommit systems (=2)
327
+
mi_option_purge_decommits, // should a memory purge decommit? (=1). Set to 0 to use memory reset on a purge (instead of decommit)
328
+
mi_option_allow_large_os_pages, // allow large (2 or 4 MiB) OS pages, implies eager commit. If false, also disables THP for the process.
329
+
mi_option_reserve_huge_os_pages, // reserve N huge OS pages (1GiB pages) at startup
330
+
mi_option_reserve_huge_os_pages_at, // reserve huge OS pages at a specific NUMA node
331
+
mi_option_reserve_os_memory, // reserve specified amount of OS memory in an arena at startup (internally, this value is in KiB; use `mi_option_get_size`)
332
332
mi_option_deprecated_segment_cache,
333
333
mi_option_deprecated_page_reset,
334
-
mi_option_abandoned_page_purge, // immediately purge delayed purges on thread termination
334
+
mi_option_abandoned_page_purge, // immediately purge delayed purges on thread termination
335
335
mi_option_deprecated_segment_reset,
336
-
mi_option_eager_commit_delay,
337
-
mi_option_purge_delay, // memory purging is delayed by N milli seconds; use 0 for immediate purging or -1 for no purging at all.
338
-
mi_option_use_numa_nodes, // 0 = use all available numa nodes, otherwise use at most N nodes.
339
-
mi_option_limit_os_alloc, // 1 = do not use OS memory for allocation (but only programmatically reserved arenas)
340
-
mi_option_os_tag, // tag used for OS logging (macOS only for now)
341
-
mi_option_max_errors, // issue at most N error messages
342
-
mi_option_max_warnings, // issue at most N warning messages
343
-
mi_option_max_segment_reclaim,
344
-
mi_option_destroy_on_exit, // if set, release all memory on exit; sometimes used for dynamic unloading but can be unsafe.
345
-
mi_option_arena_reserve, // initial memory size in KiB for arena reservation (1GiB on 64-bit)
346
-
mi_option_arena_purge_mult,
336
+
mi_option_eager_commit_delay, // the first N segments per thread are not eagerly committed (but per page in the segment on demand)
337
+
mi_option_purge_delay, // memory purging is delayed by N milli seconds; use 0 for immediate purging or -1 for no purging at all. (=10)
338
+
mi_option_use_numa_nodes, // 0 = use all available numa nodes, otherwise use at most N nodes.
339
+
mi_option_disallow_os_alloc,// 1 = do not use OS memory for allocation (but only programmatically reserved arenas)
340
+
mi_option_os_tag, // tag used for OS logging (macOS only for now) (=100)
341
+
mi_option_max_errors, // issue at most N error messages
342
+
mi_option_max_warnings, // issue at most N warning messages
343
+
mi_option_max_segment_reclaim, // max. percentage of the abandoned segments can be reclaimed per try (=10%)
344
+
mi_option_destroy_on_exit, // if set, release all memory on exit; sometimes used for dynamic unloading but can be unsafe
345
+
mi_option_arena_reserve, // initial memory size for arena reservation (= 1 GiB on 64-bit) (internally, this value is in KiB; use `mi_option_get_size`)
346
+
mi_option_arena_purge_mult, // multiplier for `purge_delay` for the purging delay for arenas (=10)
347
347
mi_option_purge_extend_delay,
348
+
mi_option_abandoned_reclaim_on_free, // allow to reclaim an abandoned segment on a free (=1)
349
+
mi_option_disallow_arena_alloc, // 1 = do not use arena's for allocation (except if using specific arena id's)
350
+
mi_option_retry_on_oom, // retry on out-of-memory for N milli seconds (=400), set to 0 to disable retries. (only on windows)
0 commit comments