gnome terminal is memory hog
Submitted by Anatoly Pugachev
Link to original bug (#559385)
Description
my usual X session longs 1-2 monthes, with recent X.org version, it doesn't crash, so i have gnome-terminal running for about 1 month for example. And usually i have about 10-20 tabs opened.
Just checked its memory usage with "ps axwu | grep gnome-terminal" :
mator 9745 0.0 15.0 988864 303036 ? Rl Sep11 12:11 gnome-terminal
then i have checked my current gnome-terminal profile -> Scrolling, it was 5Mb of memory for each scrollback buffer, so i decided to reduce scrollback buffer and made it 1Mb, my system was busy for about 10 seconds. Then checked memory usage again:
mator 9745 0.0 20.4 1000256 412580 ? Rl Sep11 12:12 gnome-terminal
that was surprise! how come, if i reduce scrollback buffer, i have increasing memory usage. Next try, reducing scrollback to 100k :
mator 9745 0.0 23.2 1000256 468176 ? Sl Sep11 12:12 gnome-terminal
That is what i have to report. Can someone comment please? Thanks.
Version: 2.22.x
Resolution: RESOLVED DUPLICATE