3 ms·
This would, however, allocate memory rather than just address space. (Yes, it may be lazily committed, but it's still not as cheap as address space.)
by barrkel 15y ago
This would, however, allocate memory rather than just address space.
(Yes, it may be lazily committed, but it's still not as cheap as address space.)
- malkia 15y agoOnce this is done, you can VirtualFree it (starting/ending from page boundaries), and let it back to the OS. Yes for some short amount of time, while it loads and goes to your code the memory is reserved.