mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 23:39:31 +03:00
lower full page retain more aggressively in a threadpool
This commit is contained in:
parent
df956c4a17
commit
d5c4a16e58
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void _mi_heap_init(mi_heap_t* heap, mi_arena_id_t arena_id, bool noreclaim, uint
|
|||
heap->allow_page_reclaim = false;
|
||||
// and halve the full page retain (possibly to 0)
|
||||
if (heap->full_page_retain >= 0) {
|
||||
heap->full_page_retain = heap->full_page_retain / 2;
|
||||
heap->full_page_retain = heap->full_page_retain / 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue