Page 1 of 1

adjust MAGICK_THREAD_LIMIT

Posted: 2009-01-27T07:01:37-07:00
by crosmuller
Hi everyone,

How can I adjust MAGICK_THREAD_LIMIT, I know I ahve to add a line to configure.xml:

<configure name="MAGICK_THREAD_LIMIT" value="4"/>

But after that, do I have to recompile imagemagick or restart something?

I am using ImageMagick 6.3.7

Thanks

Re: adjust MAGICK_THREAD_LIMIT

Posted: 2009-01-27T08:10:16-07:00
by magick
The MAGICK_THREAD_LIMIT variable limits the number of threads if ImageMagick is build with OpenMP enabled. Check your version of ImageMagick:
  • convert -version
If OpenMP is enabled you'll get something like
By default the number of threads is equal to the number of cores of your system (dual core means 2 threads).