discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memory leaks (LaternaMagica)


From: Fred Kiefer
Subject: Re: memory leaks (LaternaMagica)
Date: Thu, 27 Oct 2011 19:06:31 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.23) Gecko/20110920 SUSE/3.1.15 Thunderbird/3.1.15

Should be fixed in SVN. The method [NSBitmapImageRep +imageRepWithData:] was missing an autorelease.

On 27.10.2011 10:23, Riccardo Mottola wrote:
Hi,

I noticed a quite evident memory leak in LaternaMagica.

1) add a bunch of images to your list
2) export images to a folder. Use standard settings (TIFF, no resizing)

At the end, memory increase might increase significantly if you had very
big images or many of them.

Making another export, just increases memory more, so it is not reused.

- I'm pretty sure it used to work fine. I allocate my own memory pool to
drain it regularly, so that the peak consumption is not too high.
However, even before the change, usage peaked, but everything got released
- On the mac there is no evident leakage

Any hints, helps... I have no clue yet "what" gets leaked, since it
doesn't leak on the mac and the memory panel looks buggy... with
negative values. Also it is a count only.. here we speak about big
chunks of ram, perhaps of few objects.

Riccardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]