Normally the allocated memory should be fully contained in the resident memory, nevertheless there are a few exceptions:
- If parts of the virtual memory are paged out to disk, the resident memory can be smaller than the allocated memory.
- There are technical constellations where parts of the heap memory and the row store shared memory are marked as used, but not as resident.