convert causes 100% CPU. Can it be decreased?

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?".
acdennis
Posts: 1
Joined: 2016-03-01T08:20:47-07:00
Authentication code: 1151

Re: convert causes 100% CPU. Can it be decreased?

Post by acdennis »

If you have a multi-core processor (most people do these days) set the environment variable below.
MAGICK_THREAD_LIMIT

e.g. in Linux in your .profile set on a 4 core processor..

export MAGICK_THREAD_LIMIT=2

You will then only use max 50% CPU. For a 2 core processor set it to 1.

This should work in Windows too but you will need to use the Windows method of setting environment variables.

This link explains how:
https://kb.wisc.edu/cae/page.php?id=24500
Post Reply