3 ms·
The thing is, people want a way to measure and control the amount of memory that a process uses or is likely to use. Resident memory is one way to measure actua
by toast0 8y ago
The thing is, people want a way to measure and control the amount of memory that a process uses or is likely to use. Resident memory is one way to measure actually used memory, but from the man 3 vlimit, RLIMIT_RSS is only available on linux 2.4.x, x < 30; which nobody in their right mind is still running. So we have RLIMIT_AS which limits virtual memory, or we have the default policy of hope the OOM killer kills the right thing when you run out of ram.
That you have to keep fighting this battle is an indication that people's needs (or desires) aren't being well met.