Version: 2.6.2 (using KDE 4.6.2) OS: Linux I have set unlimited scrollback option in the profile. Currently konsole takes about 1GB of memory (in System Activity). When pres Ctrl+Shift+X and clear screen - memory consumption continues to grow. Reproducible: Didn't try Expected Results: Memory consumption to decrease after scrollback is cleared
Even after process stopped - memory consumption didn't decrease. Even after tab close stopped - memory consumption didn't decrease.
If you look in /tmp/kde-<username>, you'll see the files Konsole uses for the scrollback. How many tabs do you have open? Is the 1GB under shared-memory?
i had 2 tabs open. One of them was idle. 1GB was not under Shared Mem. If konsole uses files to store scrollback, then i don't understand memory increase.
Created attachment 61268 [details] Again Again konsole is eating memory but doesn't free it.
Created attachment 61270 [details] Again Again konsole is eating memory but doesn't free it.
Created attachment 61271 [details] memory used increases - as expected Sorry for previous duplicate entry - db errors.
Created attachment 61272 [details] After resetting scrollback - memory is not freed After pressing Ctrl+Shift+X - memory not freed
Created attachment 61273 [details] Memory is not freed even after closing the tab The memory is not freed even after closing the tab which was producing a lot of output.
I used 'for i in {1..500}; do dmesg; done' to generate enough history(taking 700M space under /tmp/kde-xxx/), and did not notice huge memory usage either when the tab is still open or already closed. I'm using KDE-4.7.0
Well, I tried a few times again and failed to reproduce it. If you can still reproduce this problem, can you inform us the size of the history file under /tmp/kde-<username> when the huge memory consumption is observed? it should be named as konsolexxxxx.tmp .
Ok, i think i found it. The problem lies in Find. Do `for i in {1..500}; do dmesg; done` Then press Ctrl+Shift+F and enter for example 'start' - and see how memory consumption grows. Then search for other words - 'stop', 'next', etc.
(In reply to comment #11) > You are right. Now I can reproduce it every time. A minor difference is closing that tab will free the consumed memory.
*** Bug 209623 has been marked as a duplicate of this bug. ***
*** Bug 280282 has been marked as a duplicate of this bug. ***
Tested today, Seems fixed. Memory had spikes of 70m but went back to 35 just after a few seconds.