Bug 67705 - Konqueror memory leak on www.tweakers.net
Summary: Konqueror memory leak on www.tweakers.net
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-09 21:04 UTC by Dik Takken
Modified: 2004-08-13 18:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2003-11-09 21:04:12 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
OS:          Linux

www.tweakers.net automatically reloads itself, so that's how I discovered that it eats 3 more megabytes after every reload.

By the way, is three megabytes of RAM for such a website normal? Seems quite a lot to me.
Comment 1 Dik Takken 2003-12-09 21:41:30 UTC
Leak still present in KDE 3.2.94. Konqueror slows down my box and dies within a few hours.
Comment 2 Stephan Kulow 2004-01-22 11:06:57 UTC
should be fixed by RC1
Comment 3 Dik Takken 2004-01-22 11:55:41 UTC
> should be fixed by RC1

It doesn't look like it's fixed. The initial memory footprint of the website is 26 MB. I reloaded it a few times, here are the results:

3x: 34 MB
6x: 41 MB
9x: 49 MB
15x: 63 MB

X is also growing in size, so it looks like some images on the site aren't destroyed before reloading. I also tried reloading the site with image loading disabled:

3x: 29 MB
6x: 32 MB
9x: 35 MB
15x: 41 MB

It's still leaking, but in this test, X does not increase in size, so it looks like there are two independent leaks here.
Comment 4 Dik Takken 2004-05-11 15:47:03 UTC
Now on KDE 3.2.2 and the problem is still there. 
Comment 5 Tommi Tervo 2004-06-29 21:35:17 UTC
Cannot reproduce, after 10 reloads konqueror RSS is 27MB and X is 21MB.
Konqi-3.3b1 and latest qt-copy
Comment 6 Jeroen Beerstra 2004-08-09 02:34:45 UTC
Reproduced on Fedora Core 2. Also with other sites then tweakers.net. 

It makes my box crash eventually so I would mark this a very, very severe!! Especially since queries implied this is going on for a while now, nock nock TOTAL CRASH, REBOOT, SILLY OLD HTML REFRESH TAG anybody home?!

Software: Konqueror 3.2.2-4 (KDE 3.2.2-6), xorg-6.7.0-5, Nvidia 6111 driver. J2re-1.4.2_05, Crossover Office 3.0 (Windows Media, Quicktime, Shockwave), Flash 7.0 r25 and Helix/Real plugin.

On startup Konqueror uses approx. 39M of virtual memory according to ksysguard and <900K of Xmemory according to xrestop. It loads a the Fedora release notes stored local. After loading www.tweakers.net:

initial: vmem 45M, xmem +5M
2x: vmem 47M, xmem 9M
3x: vmem 50M,xmem 12M
4x: vmem 53, xmem 15M
5x: vmem 56M, xmem +17M
after closing konqueror: vmem 56M, xmem +16M
after killing konqueror: vmem 0, xmem 0, most times the xmem got released only after the X proces got killed.

Tested it without plugins: no difference
Without java(script): after say 3 refreshes mem usuage seems to halt, however tweakers.net without javascript is petty useless :(

And one more just to make sure: All plugins and java enabled again but without javascript: mem usuage stable.

So it's javascript and it's severe, now please fix it, thank you! 
Comment 7 Dik Takken 2004-08-13 18:52:42 UTC
The Big Leak of KDE 3.2 has been fixed in KDE 3.3 RC2.