4 ms·
Similarly on macOS. There is a limit of 64 gigs in the VM compressor (in-core and on-disk compressed "segments" combined); when this is reached, a process that
by valleyer 5y ago
Similarly on macOS. There is a limit of 64 gigs in the VM compressor (in-core and on-disk compressed "segments" combined); when this is reached, a process that owns more than 50% of the compressed memory can be killed.
See no_paging_space_action() in:
https://opensource.apple.com/source/xnu/xnu-7195.81.3/bsd/kern/kern_proc.c.auto.html https://opensource.apple.com/source/xnu/xnu-7195.81.3/bsd/ke...
Edit: I think the 64 gigs number is out of date -- looks like it's now based in part on the amount of physical memory in the machine.