Conversation

Replying to
MEM_RELEASE will free the mapping completely like munmap on Linux, making the address space usable for other things. MEM_DECOMMIT will release the memory but hold onto the reserve address space like clobbering a mapping with mmap + MAP_FIXED + PROT_NONE on Linux.
2
2
Replying to
So, for example, you may have a case where you need up to 256GB of contiguous memory. It's perfectly fine to reserve that much memory on 64-bit. The only way you could commit that much memory is if you actually had that much physical memory + swap. Windows enforces having enough.
1
1
Show replies