What is "residual memory"? Can anyone explain?
Yedidyah Bar-David
linux-il at didi.bardavid.org
Sun Dec 18 09:07:03 IST 2011
On Fri, Dec 16, 2011 at 09:22:43PM +0200, Raz wrote:
> i tend to calculate a process' memory consumption in deltas, meaning,
> how memory it consumes in addition to the shared sections. So i
> usually take a look at the write-able
> and private consumption as reported by pmap. ( pmap <pid> ).
> Please note, there are numerous discussions of how to estimate
> system/process memory consumption. Consider for example an in-kernel
> inode, it is not counted in the process address space even though it
> serves "the process", what about in-flight bio, skbuff ?
>
>
> These problem are very common in the embedded world, we fear of being
> "oomed" :)
In addition, I also check free memory before running the app, after
starting, several times, etc.
--
Didi
More information about the Linux-il
mailing list