konqy memleak ? was: [Bug 62999] New: opening lan:/ with "many" (>500) hosts in the LAN -> memory hole

Alexander Neundorf neundorf at kde.org
Thu Aug 21 20:16:29 BST 2003


Hi,

there is the following bug report about the lan-ioslave:

----------  Forwarded Message  ----------

Subject: [Bug 62999] New: opening lan:/ with "many" (>500) hosts in the LAN -> 
memory hole
Date: Wednesday 20 August 2003 11:10
From: Jens B.Benecke <bugs.kde.org at jensbenecke.de>
To: neundorf at kde.org

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

http://bugs.kde.org/show_bug.cgi?id=62999
           Summary: opening lan:/ with "many" (>500) hosts in the LAN ->
                    memory hole
           Product: lanbrowsing
...
        ReportedBy: bugs.kde.org at jensbenecke.de


Version:            (using KDE 3.1.9)
Compiler:          gcc version 3.3.1 20030626 (Debian prerelease)
OS:          Linux (i686) release 2.2.20

Hi,

when I do 'telnet localhost 7741' (-> connect to lisa) I get a list of 530
 hosts (this is a university). when I open "lan:/" in Konqueror's sidebar
 (the "Network Browser" icon, one of the "konqueror --preload" tasks starts
 eating memory like wild. On my 128MB machine, this causes the machine to
 start swapping wildly and not respond for about 10 seconds.

When it is finished, the task suddenly consumes about 60-100MB (!!) of RAM.
 Just for the share list. I think this is too much. :-)

When I close the Konqueror window, this memory is freed, however. (not when I
 collapse the "LAN browser" tree, however)

So I think kio_lan needs to optimize memory useage. :)


Thank you!

I asked Jens for more information:

> On Wed, Aug 20, 2003 at 08:32:41PM -0000, Alexander Neundorf wrote:
> > Can you please check which process eats the memory ?  Konqy or the
> > kioslave ?
>
> The process is called "konqueror --preload".

So it seems konqy eats the memory.
Unfortunately I can't reproduce it here, my network consists of 3 boxes.

Any ideas how to deug this ?

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net





More information about the kfm-devel mailing list