SUMMARY The latte dock framework is way using too much of memory. I don't use activities and I do use 2 simple latte dock panels, still it eat nearly 1gb of my RAM. I find this unacceptable for such *simple* application. Yeah i know that in reality it's not simple code, but the resulting UI (layout of icons) is really something to worry about. STEPS TO REPRODUCE 1. Create 2 panels 2. Run for several weeks without reboot 3. Use suspend / resume linux functionality OBSERVED RESULT Memory use 800mb of ram EXPECTED RESULT Use far less ram SOFTWARE/OS VERSIONS Linux: 5.0.9-1 KDE Plasma Version: 5.15.5 KDE Frameworks Version: 5.58.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION
1. What are your applets? 2. one of your applets is memory leaking probably
In the top panel like late dock: - application dashboard - quick share - color picker - web brower (fb messenger) - quick chat - system tray - digital clock - system settings - user switcher - notifications (i prefer out of system tray notifications) In the bottom dock like latte dock: - latte plasmoid - trashcan
(In reply to Filipe Azevedo from comment #2) > In the top panel like late dock: > - application dashboard > - quick share > - color picker > - web brower (fb messenger) > - quick chat > - system tray > - digital clock > - system settings > - user switcher > - notifications (i prefer out of system tray notifications) > > In the bottom dock like latte dock: > - latte plasmoid > - trashcan one of them leaks... if you used plasma panels you would get same memory issues... suspected for which I would start is : - web brower (fb messenger) - quick chat but I cant be sure... what I know is that my setup is a bottom dock with icon size at 100px. and parabolic effect enabled and a top panel full of widgets, weather, systray, playbar, appmenu, window title, window buttons and memory usage has never been above 280Mbyte which I consider acceptable...
Tried to remove web browser and quick chat, the memory did not shrink (but i did not rebooted in between). I will try to wipe the top toolbar (can i save it for a later restore ?) and reboot, and test for some time.
(In reply to Filipe Azevedo from comment #4) > Tried to remove web browser and quick chat, the memory did not shrink (but i > did not rebooted in between). > I will try to wipe the top toolbar (can i save it for a later restore ?) and > reboot, and test for some time. memory leak means that memory is used and increased constantly as ghostly memory that can not be freed up even when the applets are removed EXCEPT if the application closes. What I would propose is the create a new layout for your tests. Latte is supporting layouts and you can switch between them whenever you want!!! If you want to take backups for your layouts this is also possible (you can import/exports layouts and there is a way also to import/export your entire LaAtte configuration including all of your layouts)... Best way to interact with your layouts is from the Layouts Manager. In v0.8 you can find the Layout Manager in two ways: 1. Appearance -> Layout -> Configure 2. OR Right click over the dock -> Layouts -> Configure