2
lorentz
3y

Anybody got any idea WTF is going on?

Comments
  • 1
    No wait I'm an idiot, virtual memory != real memory usage
  • 1
    @homo-lorens Not an idiot, it's common mistake.

    Do you know what each value means :)
  • 1
    top for humans
  • 2
    @EpicofGilgamesh My concern was that 1.3G memory usage with no containers running, what I forgot was the fact that virtual memory isn't even proportional, let alone equivalent to, physical memory usage.
  • 0
    @IntrusionCM Not even close, I'm not a very attentive Linux user.
  • 1
    @homo-lorens

    Simply put, virtual is anything that is referenced by the process. Shared Library between many processes is the easiest example. When e.g. the libc library is loaded, it's shared between many proceses. The process still references the memory, but - as it is shared - doesn't belong exclusively to the process.

    Hence virtual. The definition of virtual changes every now and then, as Linux Kernel ABI is in flux.

    Other examples would be mmap'ing a file. Part of the allocation is in resident memory, but it's largest part is virtual - as the file gets read from the HD.

    Hardware memory used by the process is resident memory, e.g. what exclusively is used by the process.
Add Comment