Red Hat Bugzilla – Bug 148034
Severe X resource leak from gimp
Last modified: 2007-11-30 17:11:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
Description of problem:
There appears to be a severe X resource leak in the Gimp. When
creating an HSV graph, the X memory footprint goes from around 90M
virtual to over 400M in about 30 seconds.
On the 256MB machine where I first noticed this, the machine started
page thrashing so badly it needed to be hard reset (probably worth a
kernel bug report there). On a bigger memory machine that can
survive, the X server does not appear to release the memory even
after the Gimp exits - but I'm still assuming that the root of the
problem is a resource leak in the Gimp.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open Gimp.
2. Create new image. I used 640x480 RGB.
3. Go to Script-Fu -> Util -> Draw HSV Graph... and OK with default
Actual Results: The Gimp chugs along and the X server's memory
Expected Results: Drawing the HSV graph should not cause X server
resources to baloon out of control.
Machine is up-to-date FC3, with:
The machine is using the X.org "nv" driver for a GeForce4 Ti4200 card
I marked the severity high because the leak is so severe - on a lower
memory machine, it can push the machine into uncontrollable page
thrashing and effectively freeze the machine solid after 30-45
I just tried this with a 1766 x 1428 pixels big image on FC5 and both gimp
(gimp-2.2.10-4) and Xorg (xorg-x11-server-Xorg-1.0.1-9) had a constant, low (73M
and 36M RSS respectively) memory consumption, so I consider this fixed.