convert and 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
styxxx
Posts: 1
Joined: 2016-09-30T15:06:05-07:00
Authentication code: 1151

convert and memory usage

Post by styxxx »

Hi,

I tried converting multiple jpegs into a pdf but the memory usage is exploding and freezing the whole computer. The set limits are ignored. I read that convert doesn't care about those since it loads all images into memory first. How can I still limit the usage?
It worked fine with a simple convert command. So loading the original images alone isn't the problem. But I'm also doing some modifcation like resize and extend. And that seems to be done in memory too for all images and so the usage goes up to way over 4.5 GB. :?

Thanks :)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert and memory usage

Post by fmw42 »

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images,

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620
Post Reply