Bug 371777 - Memory leak when closing applications?
Summary: Memory leak when closing applications?
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.8.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2016-10-28 10:08 UTC by Maarten ter Huurne
Modified: 2018-10-27 04:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
cat /proc/`pidof plasmashell`/smaps (933.33 KB, text/plain)
2016-10-28 10:08 UTC, Maarten ter Huurne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten ter Huurne 2016-10-28 10:08:35 UTC
Created attachment 101847 [details]
cat /proc/`pidof plasmashell`/smaps

To reproduce:
- allow Konsole instances to be grouped
- open 100 (or any other big number) instances of Konsole
- open top or systemmonitor and sort by memory size
- close all Konsole instances by closing the group
- watch the memory consumption of plasmashell rise as the Konsole instances exit

After repeating this a few times, I have a plasmashell instance that takes up 1.4 GB of memory. I'll attach the output of "cat /proc/`pidof plasmashell`/smaps". It shows 1 GB of memory is occupied by the heap.

The strange thing is that the memory consumption rises when closing Konsole instances, not when opening them.
Comment 1 Marco Martin 2016-10-31 12:49:41 UTC
task manager (or libtaskmanager) issue?
Comment 2 David Edmundson 2016-11-02 22:58:23 UTC
The smaps logs tell me nothing and I can't reproduce this locally.

When you say 100 isntances, is that 100 windows or 100 instances of konsole?

does allow instances to be grouped make a difference?

Do you know how to make a massif trace?
Comment 3 Andrew Crouthamel 2018-09-26 22:21:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 04:20:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!