How many images can be loaded in a magickwand?

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
edsonlp1
Posts: 7
Joined: 2011-06-06T02:50:18-07:00
Authentication code: 8675308

How many images can be loaded in a magickwand?

Post by edsonlp1 »

I want to know how many images can be loaded in a magickwand. I ask this because i need to load at least 600 images, and when i load more than 500 images i have memory error. How can i fix this?

Thank you.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: How many images can be loaded in a magickwand?

Post by magick »

Force your image pixel cache to disk with resource limits. Set the AREA limit to 0. See http://www.imagemagick.org/script/resources.php and http://www.imagemagick.org/script/architecture.php.
edsonlp1
Posts: 7
Joined: 2011-06-06T02:50:18-07:00
Authentication code: 8675308

Re: How many images can be loaded in a magickwand?

Post by edsonlp1 »

Sorry. I'm a little noob with C and i can't find the way to set the area limit to 0. By the way, when i execute my program, is consuming a lot of memory . How can i free some memory? Thank you
Post Reply