Re: convert sometimes hangs on multi-core

Alexander Lehmann <[email protected]> Thu, 08 Apr 2010 14:57:34 +0200
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
On 08.04.10 14:26,
da.mihi.sis.bubulae.frustrum.assae.solana.tuberosa.in.modo.gallico.fricta.ac.quassum.lactatum.coagulatum.crassum@imagemagick.org
wrote:
>> explicitly disabling one CPU helped circumvent the problem.
> 
> Add --disable-openmp to the configure script command line and rebuild and
> reinstall ImageMagick.  If you installed from Mac Ports, use the
> MAGICK_THREAD_LIMIT environment variable set to 1.  To only use 1 processor
> all the time, set MAGICK_THREAD_LIMIT inside the policy.xml file.
> 
> If the problem is memory contention, you can add -limit area 80mb to your
> command line to force the pixel cache to disk rather than memory.

Thank you very much for your quick answer. In fact I'm using fink instead of Mac
Ports and have already set up ImageMagick's configuration process to disable
OpenMP as well as OpenCL. Works like a charm now!