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

Daniel Flinkmann dflinkmann at gmx.de
Fri Dec 5 13:23:20 UTC 2008


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

           Summary: High memory consumption when using Konsole for a longer
                    time.
           Product: konsole
           Version: 2.1
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: dflinkmann at gmx.de


Version:           2.1 (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

When using the Konsole with several tabs (in general 10 or more), the memory
consumption is raising to a quite high volume (between 1 to 2 GByte). This
cause the whole system to have random slow downs due to memory swapping. 

I already checked some other similar bug reports which are already closed and
got the hint that I should switch all scrollback buffers to unlimited (and
Reset the scrollback buffer in each tab), so that the the scrollback buffer is
in a file instead of being hold in the RAM. This doesn't have any effect on my
Konsole application. 

I generally have a running Konsole with uptimes around 2-4 month and I often
have at least 10 (often even more) tabs open. 


The konsole binary in this example is running 4 days with 10 tabs. 

# ps -eo rss,args | grep konsole
1047032 /usr/bin/konsole

Snapshot of top: 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
27255 daniel    20   0 2181m 1.0g  15m R    8 50.4  34:04.47 konsole

# file /usr/bin/konsole
/usr/bin/konsole: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped

# ldd /usr/bin/konsole
        linux-gate.so.1 =>  (0xb7f7b000)
        libkdeinit4_konsole.so => /usr/lib/libkdeinit4_konsole.so (0xb7e6d000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d0f000)
        libkpty.so.4 => /usr/lib/libkpty.so.4 (0xb7d04000)
        libkio.so.5 => /usr/lib/libkio.so.5 (0xb7a87000)
        libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0xb771b000)
        libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0xb7502000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xb72d4000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xb7266000)
        libknotifyconfig.so.4 => /usr/lib/libknotifyconfig.so.4 (0xb7254000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7165000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb715b000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xb6858000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6769000)
        /lib/ld-linux.so.2 (0xb7f61000)
        libutil.so.1 => /lib/tls/i686/cmov/libutil.so.1 (0xb6764000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb674e000)
        libstreamanalyzer.so.0 => /usr/lib/libstreamanalyzer.so.0 (0xb66e0000)
        libsolid.so.4 => /usr/lib/libsolid.so.4 (0xb6670000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xb656f000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xb652a000)
        libacl.so.1 => /lib/libacl.so.1 (0xb6522000)
        libattr.so.1 => /lib/libattr.so.1 (0xb651d000)
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0xb64d0000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb64aa000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb649b000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb6491000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb6479000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0xb6474000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb646b000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6466000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb6454000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb644e000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb6445000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb638e000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6375000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb6370000)
        libphonon.so.4 => /usr/lib/libphonon.so.4 (0xb632d000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb632a000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6311000)
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb62f9000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb62d2000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb62c8000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb62c1000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb624b000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb621e000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb620f000)
        libstreams.so.0 => /usr/lib/libstreams.so.0 (0xb61dc000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb60a0000)
        libpcre.so.3 => /lib/libpcre.so.3 (0xb6076000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb6073000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb606d000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb601c000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5ff5000)


-- 
Configure bugmail: http://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