[Konsole-devel] [Bug 189652] Konsole scrollback history tempspace consumption
Mike Culbertson
mike at xenter.net
Mon Mar 22 18:54:02 UTC 2010
https://bugs.kde.org/show_bug.cgi?id=189652
--- Comment #5 from Mike Culbertson <mike xenter net> 2010-03-22 19:54:01 ---
More stuff. I hexdumped the temp file for my current session and it becomes
clear that konsole is storing a huge amount of data *per character* stored in
the temp files. Here's a short example:
mculbert at iridium ~/.kde3.5/tmp-iridium $ echo "UNIQUE UNIQUE"
UNIQUE UNIQUE
Then, I hexdump the temp file and find this:
000006d0 00 00 00 01 01 00 00 00 55 00 00 01 00 00 00 01 |........U.......|
000006e0 01 00 00 00 4e 00 00 01 00 00 00 01 01 00 00 00 |....N...........|
000006f0 49 00 00 01 00 00 00 01 01 00 00 00 51 00 00 01 |I...........Q...|
00000700 00 00 00 01 01 00 00 00 55 00 00 01 00 00 00 01 |........U.......|
00000710 01 00 00 00 45 00 00 01 00 00 00 01 01 00 00 00 |....E...........|
Looks like about 11 bytes of extra data per character of actual text stored.
What could possibly necessitate storing so much extra data?
By the way, this is incredibly easy to confirm. Just start konsole, cat a file
of a known size, and see how much disk or RAM gets eaten compared to the size
of the file.
Can a dev confirm this so this bug could be moved into the realm of hopefully
getting fixed?
--
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