Summary: | Searching huge history increases the memory consumption every time, which makes konsole become slower and (possibly) crash. | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Victor Varvaryuk <victor.varvariuc> |
Component: | history | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adaptee, grzebyk, kdudka, simon, tcanabrava |
Priority: | NOR | ||
Version: | 2.6.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Again
Again memory used increases - as expected After resetting scrollback - memory is not freed Memory is not freed even after closing the tab |
Description
Victor Varvaryuk
2011-06-17 15:12:15 UTC
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. |