[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: |
Tassilo Horn |
Subject: |
Re: Using the ImageMagick backend seems to leak memory |
Date: |
Mon, 10 Jan 2011 11:34:38 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
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.
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
- Using the ImageMagick backend seems to leak memory, Tassilo Horn, 2011/01/06
- Re: Using the ImageMagick backend seems to leak memory, joakim, 2011/01/06
- Re: Using the ImageMagick backend seems to leak memory, Jashy, 2011/01/06
- 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 <=
- 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, 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, 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