in reply to OS memory reclamation with threads on linux
Can we trust top/ps to really report what is going on.
Not usually; Linux allows memory overcommit. As I understand it (and simplifying somewhat), any application can request as much memory as is present on the machine (the VIRT column in top), but only the RES column is actually in use at any time. If all of the RES memory exceeds physical memory, it's swap time.
Without knowing what you watched grow and shrink in top, it's difficult to explain what happened.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: OS memory reclamation with threads on linux
by zentara (Cardinal) on Aug 27, 2008 at 16:53 UTC | |
by jbert (Priest) on Aug 27, 2008 at 19:58 UTC |