4 ms·
The author 'LOL's at Windows keeping a game going while under heavy memory pressure, but this is the correct approach. Killing a random process due to OOM is no
by p_ing 2y ago
The author 'LOL's at Windows keeping a game going while under heavy memory pressure, but this is the correct approach. Killing a random process due to OOM is not good, especially when it can lead to data loss.
Windows does not distinguish between World of Warcraft and SQL Server.
The author also does not understand that "virtual memory" is all memory (physical, page/swap, backing store) and is managed by a virtual memory manager. It's called "virtual memory" because an application does not know where the memory it has requested originates from (sure, you can get more pedantic than that, but it works).
The rule of 1-1.5x sounds like the very old and outmoded Microsoft "rule" for a pagefile, which was only there because back in the NT4 days Microsoft wanted to guarantee that a machine could create a full memory dump for analysis. 1-1.5x was never for performance, but gamers often lack that knowledge/history.
In Linux, using a swap file would be more appropriate than partition. Just as fast, fragmentation is no longer a concern with SSDs, much more flexible, and does not require partitioning tools.
- LorenDB 2y agoMy counterargument in favor of 1-1.5x swap: if you, like me, wish to hibernate your Linux PC or laptop, you need at least as much swap space as physical RAM.