Is "-limit" applied to each instance of IM?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
cristian.vrabie

Is "-limit" applied to each instance of IM?

Post by cristian.vrabie »

Hey guys,
I was just wondering if the limits (like max memory) set through either launch parameters or environmental variables are individual to each instance of ImageMagick or if they're somehow shared (accumulated)? Ex: if we spawn 3 instances of IM in parallel with "-limit memory 10MiB", will the max memory used by pixel cache be 30MiB? I guess this boils down to the question if each instance has its own pixel cache.
Thanks!
Cristian
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Is "-limit" applied to each instance of IM?

Post by magick »

Limits apply to each instance of ImageMagick. For system-wide application of limits, use the policy.xml configuration file.
Post Reply