Understanding virtual memory usage > swap + physical on Linux
We have the following process:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 10684 root 8 -15 89.6g 13g 1.1g S 406.9 21.8 316:34.89 java
Is this amount of virtual memory ok, assuming the fact that we have only 64GB of RAM. Also here is the info about the physical memory:
Mem: 65995412k total, 64967388k used, 1028024k free, 3976288k buffers Swap: 32764556k total, 1236k used, 32763320k free, 19534812k cached
As you can see there is only 1236k swapped.
We are wondering where are the missing 30GB+ RAM? Are they on disk?
How much virtual memory is ok for a particular process? What is the connection between virtual memory and RAM.