How can the total memory consumption rise without top/htop displaying increasing processes' use?

How can the total memory consumption rise without top/htop displaying increasing processes' use?

Shlomi Fish shlomif at gmail.com
Wed Aug 3 15:50:42 IDT 2016


Hi E. S.,

On Wed, Aug 3, 2016 at 3:37 PM, E.S. Rosenberg <esr+linux-il at g.jct.ac.il>
wrote:

> This is just a hunch but I think filesystem caching is not counted
> towards a process' memory usage, so if you are playing a large movie a
> large chunk (or the whole file) may be kept in memory by the
> filesystem driver while being memory that is 'available' for immediate
> freeing it is counted as %used but not as process used since it's the
> driver/kernel.
>
>
Thanks for your reply.

However, it also happens to me when playing a file that is 28,407,200 bytes
in size while I have over 7 GB of RAM and it consumes hundreds and
thousands of megabytes. So it seems unlikely that this is the case here.
That put aside, I now have an idea to run vlc under strace and see what it
can reveal - so thank you.

Regards,

-- Shlomi Fish




-- 
Shlomi Fish http://www.shlomifish.org/

You can never truly appreciate The Gilmore Girls until you've watched it in
the original Klingon.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20160803/c267d48f/attachment.html>


More information about the Linux-il mailing list