Re:Do not buy RAM, compress
by LoganDark on Thursday November 19, 2026 @06:54AM
(#50558966)
Windows doesn't do memory compression if your pagefile is not enabled. I never particularly saw the point of the pagefile as it's a dated optimization for systems that don't have enough memory, but it appears that the memory management system disproportionately depends on it to the point where it simply refuses to work properly with it off. So make sure that's turned on. (Do not let it auto size or it will happily fill up your whole drive, set it to something reasonable)
[ Parent
| on HN ]
Windows needs to have a backing store for every page allocated.
So shouldn’t disable pagefile, unless it’s a disk space issue. Windows probably won’t use it much anyways if you have enough RAM.
I thought the point of memory compression was fitting more pages into the same memory, by compressing their contents when they're not being used. It doesn't make sense that you would still need to have memory for every page, as that prevents you from getting more out of the same memory, doesn't it?
SSDs make swapping less of an issue, but it's still something I'd rather not allow to ever happen, as it's difficult to get swapped-out pages back into memory without exercising every single application on the system.
I thought memory compression was a replacement for swapping entirely, because you don't need to evict from memory, you can just compress it.