Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35092 - X uses far too much memory when using konqueror to view a large number of images
Summary: X uses far too much memory when using konqueror to view a large number of images
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-04 14:41 UTC by bdonlan
Modified: 2003-12-05 06:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bdonlan 2003-12-04 14:41:39 UTC
After viewing approximately 1500 relatively large images (averaging 635 x 1013)
in konqueror in succession, Xfree86 jumped from ~100M mapped address space to
~1G, with a corresponding increase of swap usage. Had this continued, X would
have used all my swap and caused the OOM killer to be invoked, thus (probably)
killing X, leaving the video hardware in an indeterminate state.

Killing konqueror reduced the X memory usage to sane levels. It is probable that
konqueror does not free the server memory used to store the images, but I do not
have the coding skills to fix this.

Reproducible: Always
Steps to Reproduce:
1. View a long series of images in konqueror without closing the browser.
2. Examine your imcreasing X memory usage.


Actual Results:  
X's memory usage increased by nearly a gigabyte.

Expected Results:  
X's memory usage should have remained relatively stable.

I am using vanilla kernel 2.6.0-test11, konqueror 3.1.4, and XFree86 4.3.0-r3.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-test11)
=================================================================
System uname: 2.6.0-test11 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ ftp://gentoo.ccccom.com
http://mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls
pdflib png quicktime spell xml2 xmms xv gdbm berkdb slang readline tetex aalib
svga java guile postgres sdl gpm tcpd pam libwww ssl python esd imlib qt motif
opengl mozilla cdr -arts mysql cups tcltk X gtk -gnome alsa kde crypt emacs
encode ipv6 mmx oggvorbis perl truetype zlib apache2 mng cjk mule matroska pic
gtk2 canna sse"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-12-05 06:21:52 UTC
Not much I can do for you here.  You're welcome to report this to the kde team at bugs.kde.org, but I don't know what their reaction will be - they probably will need more information in order to come up with a fix, if they consider it a bug.