This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How do I find memory leaks

Tags: None
(comma "," separated)
User avatar
mcNisse
Registered Member
Posts
89
Karma
0

How do I find memory leaks

Thu May 06, 2010 1:39 pm
I think that plasma-desktop is leaking memory om my machine.

From what I understand is are all plasmoids running in the same application. A leaking plasmoid would destroy the desktop???

I do not run that many plasmoids but I like the ones I use:
lancelot
windowlist
gmail-plasmoid
pager
lock/logout
systray
digitalclock
device notifier
system load viewer

I have had my destop running for a week and not it looks like this (top shift-M):
Code: Select all
2525 johan     20   0 2439m 1.4g  22m S    0 17.7 125:26.46 plasma-desktop                                                                                                             


Is there a way to restart plasma-desktop and free memory? And most importantly i need to find the culprit... any ideas?
akia
Registered Member
Posts
7
Karma
0
OS

Re: How do I find memory leaks

Thu May 06, 2010 3:54 pm
mcNisse wrote: Is there a way to restart plasma-desktop and free memory?


You can quit plasma-desktop by typing "kquitapp plasma-desktop" in the console and start again with "plasma-desktop".
Asraniel
Registered Member
Posts
49
Karma
0

Re: How do I find memory leaks

Thu May 06, 2010 4:10 pm
what might be interesting is to run the individual plasmoids with plamoidviewer and check the memory consumption there after some time..
User avatar
mcNisse
Registered Member
Posts
89
Karma
0

Re: How do I find memory leaks

Thu May 06, 2010 7:02 pm
That sounds interesting. I'll try that.
User avatar
mcNisse
Registered Member
Posts
89
Karma
0

Re: How do I find memory leaks

Fri May 07, 2010 3:00 pm
I restarted plasma today and I found that I had the comic strip plasmoid, note and a folderviews on a activities that I didn't use.

I tested systemload monitor, windowlist, systray and lancelot with plasmoidviewer. They were smaller after I had left them alone for an hour :)
User avatar
mcNisse
Registered Member
Posts
89
Karma
0

Re: How do I find memory leaks

Fri May 21, 2010 5:30 pm
I think that the problem was with one of the plasmoids that I removed.
I have been logged in since April 30 and the memory consumption is at a reasonable level, at least compared to it previous behavior.

Code: Select all
19929 johan     20   0  911m 134m  23m S    0  1.7 117:55.00 plasma-desktop


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar