Re: calculating process memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Samuel Sieb:

> Since you've brought this up, this is a question I've had for a long 
> time.  How do you get real memory+swap usage information for processes 
> or is that even possible?  Looking in ps or top, the RES is way too 
> small and the VIRT/VSIZE is way too big.  ps_mem is also way too small, 
> or at least the total is less than half of the real memory usage.  Is 
> there something else using that much memory that isn't processes? 
> buffers and cache don't account for the difference either.

There's a tool called smem which is supposed to attribute shared
mappings in a more reasonable way.  People use it with ZGC (pne of the
OpenJDK garbage collectors) because it maps the heap multiple times,
grossly inflating traditional RSS values.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux