-
Notifications
You must be signed in to change notification settings - Fork 87
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
[bug] Every cosmic-applet in use is consuming 300 Mb of RAM memory. #723
Comments
Could you post the output of https://github.com/pixelb/ps_mem? That may be a little more useful than a screenshot of htop. I do see memory usage reported that's about 100x smaller than that. Though even using multiple megabytes per applet may mean there's room for improvement. |
@ids1024 Sure, here it is:
Those are the results of ps_mem after a fresh start. Later today I'll paste the results of ps_mem after a couple of hours running, to see if there's a big difference. |
I wonder what's causing this. Personally, i'm on latest commits and memory consumption seems reasonable
|
Those numbers look a bit high too, comparing to a recently started session on my system (with 3 monitors). Looks like a memory leak somewhere.
|
Cosmic-applets version: 0.1.0
173134111022.04~09062c1Specific applet that this is regarding (if applicable): all of them
Issue/Bug description: each applet is consuming 300 Mb of memory
Steps to reproduce: use htop, btop, or a similar program to check RAM usage of comic-applets
Expected behavior: their sizes should be ~100 times smaller.
Other notes: I am using Pop!_OS 22.04 LTS x86_64 and Linux kernel 6.9.3-76060903-generic
Are these release builds compiled with
-C prefer-dynamic
and-C strip=symbols
flags to reduce the binary size? Maybe that could help.The text was updated successfully, but these errors were encountered: