I'd just like to make sure I understand this...
Quote:
Originally Posted by Corona688
Most UNIX systems will attempt to guarantee there's enough swap available for all allocated memory, instantiated or not. Things that allocate masses of memory but don't ever use it can exhaust all available swap space even though they never had any physical memory pages assigned to them.
So, for example, I start a Java process that the OS knows may require 1Gb of space at some point in its life. Is the above statement saying that 1Gb of swap will be allocated and therefore unavailable for use by any other processes, but initially only, say, 100Mb will actually be utilised? And if I had 10 such Java processes, I've taken up a huge proportion of my available swap. However, as I've got 32Gb of physical RAM, the swap will never actually be utilised!?
Finally, the prstat -Z gives me SIZE and RSS values, and for each zone a SWAP, RSS and MEMORY column. What do these values represent?