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

[Bug] cosmic-applet-minimize is using a GB of RAM #785

Closed
rwxroot opened this issue Jan 20, 2025 · 2 comments · Fixed by #796
Closed

[Bug] cosmic-applet-minimize is using a GB of RAM #785

rwxroot opened this issue Jan 20, 2025 · 2 comments · Fixed by #796

Comments

@rwxroot
Copy link

rwxroot commented Jan 20, 2025

cosmic-applets version: 0.1.0~1736879902~24.04~2c79ca4

uname --all: Linux pop-os 6.9.3-76060903-generic #202405300957~1736980711~24.04~978a154 SMP PREEMPT_DYNAMIC Thu J x86_64 x86_64 x86_64 GNU/Linux

Image

Image

Steps to reproduce: #785 (comment)

@mmstick
Copy link
Member

mmstick commented Jan 20, 2025

I'm guessing you had a lot of applications minimized. Virtually all memory usage is by the image crate when it gets a screenshot of an application image and then resizes it in AppData::send_image.

@rwxroot
Copy link
Author

rwxroot commented Jan 20, 2025

I'm guessing you had a lot of applications minimized. Virtually all memory usage is by the image crate when it gets a screenshot of an application image and then resizes it in AppData::send_image.

@mmstick I had alacritty and firefox minimised. I was also able to reproduce the behaviour by simply minimising and maximising them repeatedly a few times(10-15).

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.

2 participants