-
For Is any design docs to describe the relations for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The memory reservation callback will always be set to enforce memory limit by MemoryPool. Unlike MmapAllocator, MallocAllocator doesn't need to check capacity as it delegates the memory allocations to std::malloc. MmapAllocator manages the mmaped memory space by itself so needs the capacity enforcement. There is no updated design as for now but we will publish one soon. |
Beta Was this translation helpful? Give feedback.
The memory reservation callback will always be set to enforce memory limit by MemoryPool. Unlike MmapAllocator, MallocAllocator doesn't need to check capacity as it delegates the memory allocations to std::malloc. MmapAllocator manages the mmaped memory space by itself so needs the capacity enforcement.
There is no updated design as for now but we will publish one soon.