Clean Up Memory

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Posts: 4
Joined: 2015-04-22T13:55:27-07:00
Authentication code: 6789

Clean Up Memory

Post by vitaminwater » 2015-07-09T10:11:10-07:00

After resizing or cropping an animated gif image, what's a proper way to clean up the memory? To call DestroyImages(DestoryImageList)?

I'm having a memory leak issue with animated gifs. I use JMagick, in JMagick, it calls DestroyImages to de-allocate memory. But I suspect DestroyImages doesn't cleaning up all frames of animated gif.

User avatar
Posts: 25765
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Clean Up Memory

Post by fmw42 » 2015-07-09T12:02:03-07:00

I have split your post. It does not relate to the original post. Please start new posts when changing subject matter.

Post Reply