4

Can I say 'maximum resident set size of a process' equals 'required RAM size at least for the process'?

Am I right? If not, why?

minkyung
  • 143
  • 1
  • 5

1 Answers1

3

Of sorts, yes. However, the OS may over allocate memory to the process, or under allocate (and therefore, use swap space). At any rate, it is a good approximation.

See Peak memory usage of a linux/unix process

izaak_pyzaak
  • 930
  • 8
  • 23