It downloaded massive amounts of stuff, then I ran the command as yesterday and it froze the desktop. Iāll monitor the mem usage via ssh and kill the process and upload the file once the mem usage is high.
edit:
it said
NOTE: heaptrack detected DEBUGINFOD_URLS but will disable it to prevent
unintended network delays during recording
If you really want to use DEBUGINFOD, export HEAPTRACK_ENABLE_DEBUGINFOD=1
injection finished
so I ran it like this:
āāsammael@viglen in ~ took 31s
[š§±] Ć HEAPTRACK_ENABLE_DEBUGINFOD=1 heaptrack -p "$(pidof plasmashell)"
heaptrack output will be written to "/home/sammael/heaptrack.plasmashell.865542.zst"
injecting heaptrack into application via GDB, this might take some time...
injection finished
Glad to be of any help! Out of curiosity (and if itās easyt-ish to explain) what was causing it? It seems noone else using the distro has the issue so I was just wondering.
It is very technical. Some memory wasnāt cleaned after use, the definition of a memleak.
This concerned new library code that arrived in Plasma 6.3.
It seems to be in use only in task manager code.
Basically if you have the habit of hovering over tasks in the task manager to pick at windows, each time it would leak memory.
It seems.
We are already discussing with the plasmoid author on matrix btw.
We saw the issue in its code and potential improvement to make in our documentation so avoid it in the future (or code).
Slightly on the same topic, Plasmashell keeps eating VRAM, this has been going on since forever it feels like, both with AMD and Nvidia.
However I think this is the worst iāve seen so far. Running plasmashell āreplace reduces the VRAM usage temporarily, down to 160-190Mb.
One way to trigger it is to change wallpapers a few times, VRAM goes up but never really frees, other than that I havenāt figured out what makes it increase, itās not like I change wallpapers every day, or month for that matter.
First thatās normal that programs use more memory after some time, it just loaded more data or code that it needs later on, UI data, fetched data, code, plugins, thumbnails, icons, etc.
Down to 190MB from 314MB ? Which isnāt bad in the first place rest assured.
On my system, Chromium uses 192MB without a webpage opened for comparison, and plasmashell 372MB, GIMP with a small image loaded 348MB. KWin uses 67MB (two screen, 2K and 4K)
Wouldnāt you say thatās an efficient use of memory, for a whole desktop (this excludes the compositor still) compared to two webpages, or an image editor ?
As long as it doesnāt grow indefinitely over time, thatās not a memory leak.
If you really want you can try to use heaptrack or gammaray to pin-point where there could be superfluous memory being used. But thatās a very tedious work where dozens or hundred of places do contribute to this additional memory being used, each very small.
Hello i saw it didnt get merged was it fixed somewhere else or is this memory leek still an issue?
i am also having this issue but much worse it usually goes up by about a gb for each hour of usage and the rate also seems to at least tripple while running heavy games sutch as heavily modded minecraft. the biggest i have seen it go is 33gib after playing minecraft for a few hours straight.
if it would help i can also run that tool and provide the dumps as hugalafutro did.
first time posting so sorry if i did something wrong