[Konsole-devel] [Bug 176974] High memory consumption when using Konsole for a longer time.

Robert Knight robertknight at gmail.com
Thu Jun 25 15:33:29 UTC 2009


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


Robert Knight <robertknight at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #55 from Robert Knight <robertknight gmail com>  2009-06-25 17:33:23 ---
SVN commit 987102 by knight:

Greatly reduce memory usage required by Konsole's scrollback buffer and improve
releasing of scrollback memory to OS when no longer needed.

* Reduce amount of memory required for representing characters in scrollback
buffer by not storing formatting data for each character.  Instead store UTF-16
characters and formatting ranges
* Allocate memory for scrollback buffer use a custom mmap-based memory pool -
this allows the memory to be released to the OS sooner when freed.

There is a small performance cost when printing a large number of lines - see
bug report for figures.

Patch by Michael Meier

REVIEW: http://reviewboard.kde.org/r/802/
BUG:176974



 M  +13 -0     Character.h  
 M  +283 -0    History.cpp  
 M  +145 -0    History.h  
 M  +1 -1      SessionController.cpp  
 M  +1 -1      SessionManager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=987102

-- 
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 konsole-devel mailing list