You are not logged in.

#1 2011-07-31 14:30:02

irrlicht
Member
Registered: 2010-12-06
Posts: 107

updating to KDE 4.7 -> memory is leaking

Hello!

After update to KDE 4.7 my system got a memory leak.

Linux cassiopeia 2.6.39-ARCH #1 SMP PREEMPT Sat Jul 9 14:57:41 CEST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux
16:20:34 up  4:57,  2 users,  load average: 3.18, 2.01, 1.01 
root # free                                                                                                       
             total       used       free     shared    buffers     cached                                         
Mem:       4058660    2416460    1642200          0       1316     254536                                         
-/+ buffers/cache:    2160608    1898052                                                                          
Swap:      4198396          0    4198396       

As you can see, after 5 hours of uptime, the memory usage increased from ~400Mb to 2,5GB. 
After ca. 8 hours system go upon 3GB and begins to swap aggressively. How i can determine which component causes the leak?

Here is ps aux output:
http://paste.pocoo.org/show/449911/



ty in advance.


Everything less than immortality is a complete waste of time!

Offline

#2 2011-07-31 18:54:20

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: updating to KDE 4.7 -> memory is leaking

Similar thing has happened on my machine, but suddenly stopped. Please tell me what graphics card are you using, and what drivers, mesa version, etc. Also, did you compiled kde-workspace to use Open GL ES?

Offline

#3 2011-07-31 19:05:07

skunkos
Member
From: Czech Republic
Registered: 2011-06-20
Posts: 46
Website

Re: updating to KDE 4.7 -> memory is leaking

I upgraded to KDE 4.7 too and i don't recognize any leaks or other failures so far. smile

Offline

#4 2011-07-31 19:47:45

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: updating to KDE 4.7 -> memory is leaking

you can use ksysguard and look for the library causing the leak. If it's X leaking you will need root privileges to see what leaks what)

Other handy tools are top/htop , xrestop (in case of a pixmap leak like nvidia/kwin combo loves to do) and pmap (with pmap -d `pidof <program>` )

Also what's your GPU / driver and what kwin/compositing rendering engine is in your Desktop effects > Advanced (Xrender or openGL)
Also are you using the QT default rendering engine (native Xrender) or raster or opengl (not the same as kwin's)


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#5 2011-08-01 13:56:31

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: updating to KDE 4.7 -> memory is leaking

I've experienced another leak, after a while it hasn't happened. So far ksysguard, top/htop, xrestop haven't been of any help (with pmap I even don't know what to look for), so I still don't know what causes leakage.

Offline

#6 2011-08-01 14:06:37

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: updating to KDE 4.7 -> memory is leaking

Going to init 1 also doesn't help, leaked memory isn't released, so the problem must have been somewhere in hardware drivers (such as mesa).

Offline

#7 2011-08-01 16:07:55

oldpond
Member
Registered: 2010-01-26
Posts: 43

Re: updating to KDE 4.7 -> memory is leaking

There's a thread here on Strigi and Nepomuk leaking.

http://dot.kde.org/2011/07/26/release-4 … erformance


oldpond = glide

Offline

#8 2011-08-01 18:24:44

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: updating to KDE 4.7 -> memory is leaking

What processes are using too much memory ?


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#9 2011-08-01 19:09:17

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: updating to KDE 4.7 -> memory is leaking

oldpond, I don't use that c*ap, so I have it disabled.

ChoK, If I knew, I would have been solved the problem already. smile

Offline

#10 2011-10-03 12:09:40

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: updating to KDE 4.7 -> memory is leaking

I think that 64-bit flashplugin is the problem! At least here...

Offline

Board footer

Powered by FluxBB