COMException: convert: 450: Insufficient memory (case 4)

ImageMagickObject is a Windows COM+ interface to ImageMagick. COM+, Visual Basic, and Delphi users should post to this discussion group.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Add -limit memory 32 to your command parameters. This tells JPEG not to use optimized Huffman encoding in order to conserve memory. If you get the same exception, try -limit memory 8.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Try
  • "limit", "memory", "32"
It possible the JPEG optimization check may not be available in ImageMagick 6.2.8. If not, try the latest release 6.3.1-0.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

That error is coming from the TIFF delegate library, not ImageMagick. Looks like if you're going to be playing with huge images you are going to need to increase your system memory or swap.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Unknown field tags are safely ignored. It usually contains metadata stuffed in a tag not defined by the TIFF specification.
Post Reply