4 ms·
Windows also compresses pages to alleviate memory pressure before resorting to swap nowadays. Probably the same reason as with Android, as on lower-end hardware
by ygra 7y ago
Windows also compresses pages to alleviate memory pressure before resorting to swap nowadays. Probably the same reason as with Android, as on lower-end hardware, especially with hard drives, compressing/decompressing isn't really noticeable, while hitting the disk is.
- pmjordan 7y agomacOS and iOS do this too. iOS doesn't even use any traditional swap and gets away with it by putting the onus on developers to make sure their apps never go OOM when in the foreground and to deal seamlessly with apps being OOM killed when in the background.