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

Robert Knight robertknight at gmail.com
Tue Feb 27 03:03:54 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         




------- Additional Comments From robertknight gmail com  2007-02-27 04:03 -------
> 100k lines of history per shell (yes I need that much). 

I would suggest using the "Unlimited" history mode in that case, it uses a file instead of storing everything in memory. 

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

I wasn't able to detect anything amiss with Valgrind. ( valgrind --leak-check=full konsole ) 

The memory usage does appear to increase when the "Clear All Histories" is invoked for the first time, but subsequent fill-history -> clear-history -> fill-history cycles don't increase the usage any more. 

If you do repeated fill-history -> clear-history -> fill-history cycles, does the memory usage continue to increase significantly?



More information about the konsole-devel mailing list