<trclass="memitem:ga96ad9c406338bd314cfe878cfc9bf723"id="r_ga96ad9c406338bd314cfe878cfc9bf723"><tdclass="memItemLeft"align="right"valign="top">long </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="#ga96ad9c406338bd314cfe878cfc9bf723">mi_option_get_clamp</a> (<aclass="el"href="#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, long min, long max)</td></tr>
<trclass="memitem:gaf84921c32375e25754dc2ee6a911fa60"id="r_gaf84921c32375e25754dc2ee6a911fa60"><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="#gaf84921c32375e25754dc2ee6a911fa60">mi_option_set</a> (<aclass="el"href="#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, long value)</td></tr>
<trclass="memitem:ga7ef623e440e6e5545cb08c94e71e4b90"id="r_ga7ef623e440e6e5545cb08c94e71e4b90"><tdclass="memItemLeft"align="right"valign="top">void </td><tdclass="memItemRight"valign="bottom"><aclass="el"href="#ga7ef623e440e6e5545cb08c94e71e4b90">mi_option_set_default</a> (<aclass="el"href="#gafebf7ed116adb38ae5218bc3ce06884c">mi_option_t</a> option, long value)</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda"name="ggafebf7ed116adb38ae5218bc3ce06884ca0957ef73b2550764b4840edf48422fda"></a>mi_option_show_stats </td><tdclass="fielddoc"><p>Print statistics on termination. </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a"name="ggafebf7ed116adb38ae5218bc3ce06884caec6ecbe29d46a48205ed8823a8a52a6a"></a>mi_option_max_errors </td><tdclass="fielddoc"><p>issue at most N error messages </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665"name="ggafebf7ed116adb38ae5218bc3ce06884caf9595921087e942602ee079158762665"></a>mi_option_max_warnings </td><tdclass="fielddoc"><p>issue at most N warning messages </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884caca7ed041be3b0b9d0b82432c7bf41af2"name="ggafebf7ed116adb38ae5218bc3ce06884caca7ed041be3b0b9d0b82432c7bf41af2"></a>mi_option_reserve_huge_os_pages </td><tdclass="fielddoc"><p>reserve N huge OS pages (1GiB pages) at startup </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884caa13e7926d4339d2aa6fbf61d4473fd5c"name="ggafebf7ed116adb38ae5218bc3ce06884caa13e7926d4339d2aa6fbf61d4473fd5c"></a>mi_option_reserve_huge_os_pages_at </td><tdclass="fielddoc"><p>Reserve N huge OS pages at a specific NUMA node N. </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333"name="ggafebf7ed116adb38ae5218bc3ce06884cafbf4999c828cf79a0fb2de65d23f7333"></a>mi_option_reserve_os_memory </td><tdclass="fielddoc"><p>reserve specified amount of OS memory in an arena at startup (internally, this value is in KiB; use <code>mi_option_get_size</code>) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca7cc4804ced69004fa42a9a136a9ba556"name="ggafebf7ed116adb38ae5218bc3ce06884ca7cc4804ced69004fa42a9a136a9ba556"></a>mi_option_allow_large_os_pages </td><tdclass="fielddoc"><p>allow large (2 or 4 MiB) OS pages, implies eager commit. If false, also disables THP for the process. </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4"name="ggafebf7ed116adb38ae5218bc3ce06884ca9d15c5e3d2115eef681c17e4dd5ab9a4"></a>mi_option_purge_decommits </td><tdclass="fielddoc"><p>should a memory purge decommit? (=1). Set to 0 to use memory reset on a purge (instead of decommit) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de"name="ggafebf7ed116adb38ae5218bc3ce06884cab1c88e23ae290bbeec824038a97959de"></a>mi_option_arena_reserve </td><tdclass="fielddoc"><p>initial memory size for arena reservation (= 1 GiB on 64-bit) (internally, this value is in KiB; use <code>mi_option_get_size</code>) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf"name="ggafebf7ed116adb38ae5218bc3ce06884ca4b74ae2a69e445de6c2361b73c1d14bf"></a>mi_option_os_tag </td><tdclass="fielddoc"><p>tag used for OS logging (macOS only for now) (=100) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e"name="ggafebf7ed116adb38ae5218bc3ce06884ca8f51df355bf6651db899e6085b54865e"></a>mi_option_retry_on_oom </td><tdclass="fielddoc"><p>retry on out-of-memory for N milli seconds (=400), set to 0 to disable retries. (only on windows) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c"name="ggafebf7ed116adb38ae5218bc3ce06884ca17a190c25be381142d87e0468c4c068c"></a>mi_option_eager_commit_delay </td><tdclass="fielddoc"><p>the first N segments per thread are not eagerly committed (but per page in the segment on demand) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5"name="ggafebf7ed116adb38ae5218bc3ce06884cafd0c5ddbc4b59fd8b5216871728167a5"></a>mi_option_arena_eager_commit </td><tdclass="fielddoc"><p>eager commit arenas? Use 2 to enable just on overcommit systems (=2) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290"name="ggafebf7ed116adb38ae5218bc3ce06884cadd351e615acd8563529c20a347be7290"></a>mi_option_purge_delay </td><tdclass="fielddoc"><p>memory purging is delayed by N milli seconds; use 0 for immediate purging or -1 for no purging at all. (=10) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74"name="ggafebf7ed116adb38ae5218bc3ce06884ca0ac33a18f6b659fcfaf44efb0bab1b74"></a>mi_option_use_numa_nodes </td><tdclass="fielddoc"><p>0 = use all available numa nodes, otherwise use at most N nodes. </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6"name="ggafebf7ed116adb38ae5218bc3ce06884cadcfb5a09580361b1be65901d2d812de6"></a>mi_option_disallow_os_alloc </td><tdclass="fielddoc"><p>1 = do not use OS memory for allocation (but only programmatically reserved arenas) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca9fa61bd9668479f8452d2195759444cc"name="ggafebf7ed116adb38ae5218bc3ce06884ca9fa61bd9668479f8452d2195759444cc"></a>mi_option_limit_os_alloc </td><tdclass="fielddoc"><p>If set to 1, do not use OS memory for allocation (but only pre-reserved arenas) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909"name="ggafebf7ed116adb38ae5218bc3ce06884caa9ad9005d7017c8c30ad2d6ba31db909"></a>mi_option_max_segment_reclaim </td><tdclass="fielddoc"><p>max. percentage of the abandoned segments can be reclaimed per try (=10%) </p>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88"name="ggafebf7ed116adb38ae5218bc3ce06884ca6364331e305e7d3c0218b058ff3afc88"></a>mi_option_destroy_on_exit </td><tdclass="fielddoc"><p>if set, release all memory on exit; sometimes used for dynamic unloading but can be unsafe </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e"name="ggafebf7ed116adb38ae5218bc3ce06884ca8236501f1ab45d26e6fd885d191a2b5e"></a>mi_option_arena_purge_mult </td><tdclass="fielddoc"><p>multiplier for <code>purge_delay</code> for the purging delay for arenas (=10) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca009e4b5684922ce664d73d2a8e1698d9"name="ggafebf7ed116adb38ae5218bc3ce06884ca009e4b5684922ce664d73d2a8e1698d9"></a>mi_option_abandoned_reclaim_on_free </td><tdclass="fielddoc"><p>allow to reclaim an abandoned segment on a free (=1) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487"name="ggafebf7ed116adb38ae5218bc3ce06884ca02005f164bdf03f5f00c5be726adf487"></a>mi_option_purge_extend_delay </td><tdclass="fielddoc"><p>extend purge delay on each subsequent delay (=1) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40"name="ggafebf7ed116adb38ae5218bc3ce06884caeae1696100e4057ffc4182730cc04e40"></a>mi_option_disallow_arena_alloc </td><tdclass="fielddoc"><p>1 = do not use arena's for allocation (except if using specific arena id's) </p>
</td></tr>
<tr><tdclass="fieldname"><aid="ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e"name="ggafebf7ed116adb38ae5218bc3ce06884ca38c67733a3956a1f4eeaca89fab9e78e"></a>mi_option_visit_abandoned </td><tdclass="fielddoc"><p>allow visiting heap blocks from abandoned threads (=0) </p>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.11.0 </li>