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

Robert Knight robertknight at gmail.com
Mon Jun 15 09:13:03 UTC 2009


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





--- Comment #50 from Robert Knight <robertknight gmail com>  2009-06-15 11:12:57 ---
Hi Michael,

Perhaps we could use mmap() to do memory allocation for just the history buffer
then?  With your current patch there is one buffer per line for the character
data and one for the formatting data.  Perhaps an alternative would be to have
two ring buffers, one for the character data and one for the formatting data. 
I believe these buffers would then be large enough that they would be allocated
using mmap() rather than from the memory zone glibc uses for smaller chunks of
data?

-- 
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