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.
3DTOPO
Posts: 28 Joined: 2010-07-05T16:13:53-07:00
Authentication code: 8675308
Post
by 3DTOPO » 2010-07-05T18:10:28-07:00
Greetings,
I am just getting up to speed with ImageMagick and I am loving it!
Is there a limit memory option for the MagickWand API similar to the limit memory switch for the convert utility?
Code: Select all
convert -define registry:temporary-path=/data/tmp -limit memory 16mb
Thanks!
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2010-07-06T03:42:18-07:00
3DTOPO
Posts: 28 Joined: 2010-07-05T16:13:53-07:00
Authentication code: 8675308
Post
by 3DTOPO » 2010-07-19T20:50:08-07:00
Thanks for the link.
I am using MAGICK_MEMORY_LIMIT which works great, but I understand it also limits the disk pixel cache.
Is there a way to limit just the RAM and not the swap cache?
Thanks again!
3DTOPO
Posts: 28 Joined: 2010-07-05T16:13:53-07:00
Authentication code: 8675308
Post
by 3DTOPO » 2010-07-30T14:23:11-07:00
Apparently MAGICK_MEMORY_LIMIT seems to control the maximum pixel cache for the heap otherwise it caches to disk.
MAGICK_MAP_LIMIT seems to control the maximum pixel cache otherwise it caches to disk.
If MAP limit is not using memory from the heap, what is it using before it caches it to disk?