Re: Error : Memory allocation failed `No such file or directory'
[email protected] Wed, 21 Jan 2009 06:09:29 -0800
| Newsgroups | gmane.comp.video.image-magick.bugs |
|---|---|
| Message-ID | <[email protected]> |
> convert.exe: Memory allocation failed `No such file or directory' @ > ImageMagick-6.4.5\magick\cache.c/unknown/967. ImageMagick recovers gracefully in most instances when your system refuses to honor a request for memory. However, this exception is deep in the ImageMagick pixel cache and it simply refuses to continue without getting the memory it requested. To fix the problem, force the pixels to disk rather than memory. If you're using the command line, you wand something like: convert -limit memory 64mb -limit map 128mb ... These resource limits reduce the large memory (.e.g > 1mb) requests to ensure there is enough memory for the little requests (.e.g. < 1mb) ImageMagick requires.