Memory leaks

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You need to show a leak is in PerlMagick before we can persue it as a bug. For example, this script using ImageMagick 6.3.1-1 does not show any leaks over 10,000 iterations:

Code: Select all

use Image::Magick;

$i = 0;

while ($i++ < 10000)
{
  my ($image) = Image::Magick->new();
  $x = $image->Read('logo:');
  warn $x if "$x";
  my(@statistics) = $image->Statistics();
}
Post Reply