Comment by vinyl7
3 days ago
The OS writes unused memory pages to the swap file, so this is a non-issue. I can go allocate a TB of RAM on my 32gb system and windows will happily give it to me.
3 days ago
The OS writes unused memory pages to the swap file, so this is a non-issue. I can go allocate a TB of RAM on my 32gb system and windows will happily give it to me.
> the OS _writes_ unused memory pages to the swap file
The OS write unused memory pages to the swap file by default. But the 'constant memory' design is usually done with locking in memory both the executable and memory pages (also pinning the process to CPUs, using realtime priorities etc).
Windows doesn't support overcommit, so you can't unless you have a ridiculously huge swap set. It is an issue.