[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the ImageMagick backend seems to leak memory
From: |
joakim |
Subject: |
Re: Using the ImageMagick backend seems to leak memory |
Date: |
Tue, 11 Jan 2011 11:59:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Tassilo Horn <address@hidden> writes:
> Andreas Schwab <address@hidden> writes:
>
> Hi Andreas,
>
>>> Looking at the API, there's
>>>
>>> ClearMagickWand() clears resources associated with the wand.
>>> The format of the ClearMagickWand method is:
>>>
>>> void ClearMagickWand(MagickWand *wand)
>>>
>>> A description of each parameter follows:
>>> wand
>>> the magick wand.
>>>
>>> In the emacs sources, that function's never called. So that's
>>> probably the source of the leak.
>>
>> DestroyMagickWand should imply ClearMagickWand, IIUC.
>>
>> I've fixed a few resource leaks, but that did not really help.
I just verified that using a dev IM doesnt help.
Maybe using Valgrind can help, but it doesnt work with emacs sadly.
>
> Looking at the code examples at
>
> http://www.imagemagick.org/api/magick-wand.php
>
> it seems one must call
>
> MagickWandTerminus();
>
> after destroying the wands.
>
> Maybe that helps.
>
> Bye,
> Tassilo
--
Joakim Verona
- Re: Using the ImageMagick backend seems to leak memory, (continued)
- Re: Using the ImageMagick backend seems to leak memory, Miles Bader, 2011/01/06
- Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/07
- Re: Using the ImageMagick backend seems to leak memory, Andreas Schwab, 2011/01/07
- Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/10
- Re: Using the ImageMagick backend seems to leak memory, Jashy, 2011/01/10
- Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/10
- Re: Using the ImageMagick backend seems to leak memory, Jashy, 2011/01/10
- Re: Using the ImageMagick backend seems to leak memory, Jashy, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory,
joakim <=
- Re: Using the ImageMagick backend seems to leak memory, joakim, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, joakim, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, joakim, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, joakim, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, Stefan Monnier, 2011/01/11
- Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/12
Re: Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/10