4 ms·
mmap uses the virtual memory manager to map a file into virtual memory as it does for swapping. The memory you have is therefore allocated by the kernel of you
by shin_lao 15y ago
mmap uses the virtual memory manager to map a file into virtual memory as it does for swapping.
The memory you have is therefore allocated by the kernel of your operating system and oblivious to any garbage collector you might have.