[Bug 285159] Filelight has a huge memory leak

Christoph Feck christoph at maxiom.de
Fri Oct 28 16:34:02 BST 2011


https://bugs.kde.org/show_bug.cgi?id=285159


Christoph Feck <christoph at maxiom.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




--- Comment #3 from Christoph Feck <christoph maxiom de>  2011-10-28 15:34:02 ---
That "global" memory is the disk cache maintained by the operating system.

To verify if there really is a memory leak, open a root Konsole, and type this
composed command (you probably have to issue it multiple times, until its
output becomes stable):

> sync && sync && echo 3 > /proc/sys/vm/drop_caches && free

The interesting field is the "used" field in the _second_ row (i.e. the usage
after buffers/caches are subtracted), NOT in the "Mem:" row. This is the real
memory used by all applications and the system.

Now run filelight, let it scan as long as you want, exit it, go back to the
Konsole window, and check the new memory usage.

If the numbers are different, there is a memory leak somewhere (likely in the
application launcher, i.e. plasma-desktop). You would have to compare the
memory usage of individual processes to check which of them leaks.

Unless you still believe there is a leak, I am closing this. Reopen otherwise.

(Note: the "drop_caches" does not cause any data loss, but it causes disk
caches to be freed, so that the system has to reload that data from disk until
the caches are filled again. This means the system will be quite slow right
after dropping the caches.)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list