firefox/plasma memory leak?

I’m running OpenSUSE 11.0 on a Dell M6300. Everything has been working fine until the last day or so. Now every time I open Firefox, plasma starts growing in memory until its usage approaches 90% of the 4 Gig installed. I assume that this is related to the latest updates to Firefox but I’m not sure what to do to rectify the problem. Any suggestions?

Thanks,

– Pete

In a terminal try using

top

and

ps

remember you can see their manual eg:

man ps

see if you pick anything up from those. It seems unlikely that plasma has issue with a FF update.

Hi
xrestop may be a better indicator :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 16:58, 2 users, load average: 0.71, 0.35, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80

okay well I start up a firefox window and here is the output from top:

Tasks: 133 total, 1 running, 132 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.4%us, 5.7%sy, 0.0%ni, 0.0%id, 88.9%wa, 0.3%hi, 0.7%si, 0.0%st
Mem: 4060380k total, 4040248k used, 20132k free, 732k buffers
Swap: 8393952k total, 579916k used, 7814036k free, 85828k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10537 me 20 0 4203m 3.5g 14m D 10 89.9 0:18.10 plasma
20 root 15 -5 0 0 0 D 2 0.0 0:14.60 kswapd0

– Pete

Try disabling all your FF extensions
If that helps, then add them back 1 at a time.

Okay I removed extensions. Rebooted everything.

top before firefox

2547 root 20 0 179m 70m 13m R 6 1.8 0:24.98 Xorg
3160 me 20 0 386m 35m 17m S 5 0.9 0:09.70 plasma

top after firefox

3160 me 20 0 4020m 3.4g 17m D 23 88.6 0:23.49 plasma
20 root 15 -5 0 0 0 D 6 0.0 0:00.88 kswapd0
2547 root 20 0 179m 70m 12m S 1 1.8 0:27.10 Xorg

still no love between firefox and plasma

thanks,

– Pete

Which version of Firefox are u using?
Post back the output of this command “rpm -qi MozillaFirefox”

Also, can you check if you are experiencing the same on GNOME also, if you have it installed :wink:

  • Thejaswi Raya

Thanks, here is the output:

rpm -qi MozillaFirefox
Name : MozillaFirefox Relocations: (not relocatable)
Version : 3.0.3 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 1.1 Build Date: Thu 02 Oct 2008 06:29:24 PM EDT
Install Date: Mon 06 Oct 2008 08:17:02 AM EDT Build Host: soellner.suse.de
Group : Productivity/Networking/Web/Browsers Source RPM: MozillaFirefox-3.0.3-1.1.src.rpm
Size : 3375650 License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Signature : DSA/SHA1, Thu 02 Oct 2008 06:36:43 PM EDT, Key ID a84edae89c800aca
Packager : Submitting Bug Reports - openSUSE
URL : Mozilla.org - Home of the Mozilla Project
Summary : Mozilla Firefox Web Browser
Description :
Mozilla Firefox, formerly known as Phoenix and Firebird, is a redesign
of the Mozilla browser component, similar to Galeon, K-Meleon and
Camino, but written using the XUL user interface language and designed
to be cross-platform. It is a stand-alone application instead of part
of the Mozilla Application Suite.

Authors:

Mozilla Foundation <drivers@mozilla.org>

Distribution: openSUSE 11.0 (X86-64)

I guess I’m not entirely convinced to problem is Firefox.
I’ll see if Konquerer causes the same problem.
I don’t have gnome installed at the moment.

thanks,

– Pete

By any chance do you have an ATI Graphics card?
If yes then have you installed fglrx drivers? This is a known problem with Firefox on ATI systems.
Also have you enabled desktop effects?
Try this tweaks to enhance the performance
Possible solution for ‘odd’ pauses and delays while using computer - openSUSE Forums

Disable IPv6 for Firefox - openSUSE

I had the same problem as you had. I did some tweaking and my Firefox is blazing fast now :). I use a lot of other linux distros and Firefox seems to be faster on openSUSE.

Thanks,

graphics card: NVIDIA Quatro FX 1600M
so I don’t think this is the problem.

I’ve disabled ipv6 in firefox.
I’ll try this out and see if it fixes things

Thanks,

– Pete

There is definitely still a memory leak somewhere with Plasma, but I can’t figure out if it’s with a plasmoid or not.

I switched to Epiphany since it loads up faster than FF and renders about the same and Java+Flash work ok with it.

After about a week or so memory useage gets so high with Plasma that I have to log off my desktop and log back on–this is so I can avoid rebooting. This also dumps all the kde processes and restarts KDE/Plasma.

At least I don’t have to logoff/logon every day. Maybe about once a week. I got 3GB of ram. Over several days my desktop which has no icons and only one plasmoid other than the default taskbars is the analog clock. That’s it.