3 ms·
It's there in spirit. VirtualAlloc is extremely flexible. brk is really intended for a segmented environment but it makes it almost impossible to return commit
by slededit 9y ago
It's there in spirit. VirtualAlloc is extremely flexible. brk is really intended for a segmented environment but it makes it almost impossible to return commit back to the OS.
A lot of unicies allow over commit because of this where windows will fail the alloc. The windows design is much better if you care about handling OOM.