more aggressive reclaim from free for OS blocks

This commit is contained in:
daanx 2024-06-03 14:05:57 -07:00
parent 1a9cf7bce2
commit f02a0b3541
3 changed files with 35 additions and 23 deletions

View file

@ -306,8 +306,8 @@ int main(int argc, char** argv) {
#ifndef USE_STD_MALLOC
#ifndef NDEBUG
// mi_collect(true);
mi_debug_show_arenas(true,true,true);
mi_collect(true);
#endif
mi_stats_print(NULL);
#endif