less memory usage

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
pirad
Posts: 4
Joined: 2012-01-24T05:06:11-07:00
Authentication code: 8675308

less memory usage

Post by pirad »

Hi. I ust ImageMagick to animate a sequence of 500 pictures. And it uses much less memory when these animations are split up into 10 of 50 pictures each saved as .miff and then put together. Perhaps IM should recognize how many memory there is and do things like that itself. I crashed the server I use yesterday with to many pictures at one time.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: less memory usage

Post by magick »

Add -limit memory 2MB -limit map 4MB to your command line. See http://www.imagemagick.org/script/comma ... .php#limit.
pirad
Posts: 4
Joined: 2012-01-24T05:06:11-07:00
Authentication code: 8675308

Re: less memory usage

Post by pirad »

O, I see. The default values did not work in my case. There were 16 GB Memory and the server crashed as the memory and swap were full. But thanks for the help.
Post Reply