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

Robert Knight robertknight at gmail.com
Mon Jun 8 09:12:13 UTC 2009


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





--- Comment #20 from Robert Knight <robertknight gmail com>  2009-06-08 11:12:11 ---
Hi Michael,

Thanks for the patch.  Approach looks sensible.  Rather than having two
separate types of line an alternative would be to have a formatting array for
each line which specifies the start position and index into the character array
for each change of format.  Something also worth noting is that QVector/QList
objects have a high overhead per-instance (somewhere between 20-30 bytes IIRC)
plus the memory allocator's own overhead - might be worth looking at
QVarLengthArray instead.

reviewboard is being funny at the moment - I'll post comments later on.

Unfortunately KDE 4.3 is now in deep-freeze (small fixes only) but I should be
able to get this in for 4.3.1.  More urgent though is tracking down actual
memory leaks - as opposed to inefficiency.  It might be possible to push fixes
for that into 4.3.0, I'd have to check with the release team.

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