memory problems with convert

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
dieter61630

memory problems with convert

Post by dieter61630 »

Hi, I am new here and very much appreciate hints to solve this problem: I try to convert 2000 images on a PC running WinXP by using this command:

convert c:\temp\r\*.jpg -limit memory 1mb -limit map 1mb -cache 1 -font Arial -pointsize 30 -draw "gravity north fill white text 100,5 'SCHOENES RAGELSDORF' fill red text 101,6 'SCHOENES RAGELSDORF' " a.jpg

This works fine with 15 images but with 2000 it fills up the memory (up to the limit of 2.3 GB, as seen in the Task Manager), the PC becomes extremely slow and finally convert quits without having done anything. As you can see I tried the parameters -limit memory, -limit map, and -cache (all suggestions I found here in the forum) but this does not change anything.

How can I make convert to swap onto the HD instead of using all memory? Is there any parameter to solve this problem?
Thanks a lot, Dieter61630
Post Reply