mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
revise the segment map to only apply to OS allocated segments and reduce the .BSS footprint
This commit is contained in:
parent
5501f59f6c
commit
a964322a21
4 changed files with 82 additions and 105 deletions
|
@ -258,7 +258,7 @@ int main(int argc, char** argv) {
|
|||
#ifdef HEAP_WALK
|
||||
mi_option_enable(mi_option_visit_abandoned);
|
||||
#endif
|
||||
#ifndef NDBEBUG
|
||||
#ifndef NDEBUG
|
||||
mi_option_set(mi_option_arena_reserve, 32 * 1024 /* in kib = 32MiB */);
|
||||
#endif
|
||||
#ifndef USE_STD_MALLOC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue