Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect memory usage #39

Open
yuriyushakov opened this issue Dec 26, 2020 · 0 comments
Open

Incorrect memory usage #39

yuriyushakov opened this issue Dec 26, 2020 · 0 comments
Assignees

Comments

@yuriyushakov
Copy link

Expected Behavior

I expect "sysstat" panel applet to display correct memory usage. When I open heavy applications to use all my memory and then close all applications, I expect to have memory usage by applications to be slightly bigger than after reboot. Tools like top, htop, mate-system-monitor show memory usage that I expect.

Current Behavior

After stopping all heavy applications, I have 6GB memory usage shown by "sysstat" applet, while other system monitors show less than 1GB. This is due to libsysstat reports incorrect values to the applet.

Possible Solution

The formula which calculates the amount of memory used by applications in libsysstat does not take into account the reclaimable memory.

A possible solution is attached. The formula is taken from htop.

0001-Application-memory-usage-formula-agree-with-htop.zip

Steps to Reproduce (for bugs)

See "Expected Behavior".

Context

I would like to receive adequate information about memory usage.

System Information
  • Distribution & Version: Debian 10
  • Kernel: 4.19.0-11-amd64
  • Qt Version: 5.11
  • liblxqt Version: liblxqt0 0.14.1-1
  • Package version: libsysstat-qt5 from git master.
@luis-pereira luis-pereira self-assigned this Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants