[Gimp-developer] 2.3 Memory usage and leaks
Sven Neumann
sven at gimp.org
Tue Jul 17 00:28:37 PDT 2007
Hi,
On Fri, 2007-07-13 at 15:47 -0700, Akkana Peck wrote:
> I played around with gmemusage to get a feel for what was going
> on. GIMP 2.3 uses between 33.9 and 35.0 Mb on startup (no images
> loaded, and I don't know why it isn't always the same). For
> comparison, 2.2.13 uses about 13.9 Mb at startup, so it's increased
> by a factor of about 2.5 just for the base app, before images.
That is most likely because your copy of gimp-2.3 has debugging symbols
while your copy of gimp-2.2 doesn't. I wouldn't be surprised if gimp-2.3
uses a little more memory than gimp-2.2 but the difference should be
marginal.
> Each time I load an image then close the image window without doing
> anything, gimp grows by some variable amount, ranging from half a
> Mb to 2Mb (perhaps related to the size of the image). If I do
> operations on the image before closing it, these cause it to grow
> more: doing a crop and a scale almost always makes it grow 2Mb
> even with a relatively small image.
I have tested this in valgrind and it doesn't show me any memory leaks.
Can you reproduce this with G_SLICE=always-malloc ?
Sven
More information about the Gimp-developer
mailing list