Question: what is the difference between virtual and resident memory?
Answer: RSS is the Resident Set Size and is used to show how much memory is allocated to that process and is in RAM. ... VSZ is the Virtual Memory Size. It includes all memory that the process can access, including memory that is swapped out, memory that is allocated, but not used, and memory that is from shared libraries.