[Konsole-devel] [Bug 142251] New: Extreme memory usage after clearing histories

Mike Culbertson mike at infoleak.com
Tue Feb 27 01:01:04 UTC 2007


------- 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=142251         
           Summary: Extreme memory usage after clearing histories
           Product: konsole
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: mike infoleak com


Version:           1.6.6 (using KDE KDE 3.5.6)
Installed from:    Gentoo Packages
Compiler:          gcc version 4.1.1 (Gentoo 4.1.1-r3) 
OS:                Linux

It seems the memory used for history is not freed when histories are cleared, and in fact more than doubles usage when cleared.

This is not quick to reproduce, but I have seen it several times.

-Running 2 Konsole windows with ~21 shell tabs total. 100k lines of history per shell (yes I need that much). Some histories are full, most probably are not.  Shells have been running for at least 2 weeks.
-Memory Usage at roughly 280MB
-I "Clear all Histories" on both windows, which freezes the system for ~10 seconds per window.
-Memory usage for konsole has now ballooned to ~670MB. This does not reduce until I close out all my sessions.

mculbert radium ~ $ ps -eo rss,args | grep konsole
672636 konsole [kdeinit] -session 10e7ce6469000115361676900000137650009_1170358463_821607
mculbert radium ~ $



More information about the konsole-devel mailing list