rbn42 / panon

An Audio Visualizer Widget in KDE Plasma
GNU General Public License v3.0
191 stars 31 forks source link

[BUG] Constant memory building when placed in Latte Dock #32

Closed Nano-Ocelot closed 3 years ago

Nano-Ocelot commented 3 years ago

Memory continues to build when placed in a latte-dock panel. Latte-dock will easily build up to 3GB+ of RAM usage only when panon is active. Memory stops increasing as soon as panon is removed from the panel.

rbn42 commented 3 years ago

I guess this version of latte-dock has memory leaking problems.

panon needs to actively draw 60 frames per second, while most of the other plasmoids only display a static image in the most of time. So panon requires much more new memory (by GC) than most of the other plasmoids. So if latte-dock's GC fails, you will find panon's memory leaks more obviously than the other plasmoids.