title: ImageMagick using more than 2GB of memory to convert PDF files
body: <p>ImageMagick is using huge amounts of memory to convert PDF files - more than 2GB. The command I'm using is:</p>
  
  <pre><code>convert -density 250 -resize 1280x myfile.pdf -interlace plane -strip -quality 40 -alpha flatten myfolder/myfile-%03d.jpg
  </code></pre>
  
  <p>How can this be improved? I have an 1GB limit or else the process is killed ruthlessly. ):</p>