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

[Feature request] Show Allocated memory instead of Application memory #17

Open
TiGR opened this issue Oct 3, 2020 · 0 comments · May be fixed by #18
Open

[Feature request] Show Allocated memory instead of Application memory #17

TiGR opened this issue Oct 3, 2020 · 0 comments · May be fixed by #18

Comments

@TiGR
Copy link

TiGR commented Oct 3, 2020

Application memory ignores non-reducible cache memory. So the widget might show that you have extra several gigabytes, but actually there is no more available memory, and thus may give you false impression and result in OOM situations. For example:

image

(widget here is patched and displays allocated memory instead of application memory)

On this image you can see that Application memory is 10 Gb. You might feel that you have 5 Gb free and you're safe. But actually, you have less than 2 Gb available.

One of the reasons of why it happens is tmpfs systems (such as /dev/shm/) and Chromium engine that uses it for sandboxing and takes considerable amount of space in cache and this space cannot be freed up by the system, and thus there is quite considerable amount in pagecache cache area that could not be freed up if needed.

TiGR added a commit to TiGR/plasma-applet-resources-monitor that referenced this issue Oct 3, 2020
With some applications allocated memory shows more real picture
of how much memory is actually used and could not be freed up.

Fixes kotelnik#17
@TiGR TiGR linked a pull request Oct 3, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant