Page 1 of 1

Re: Low Memory Image Access

Posted: 2008-03-12T17:51:11-07:00
by magick
Use MagickSetResourceLimit() and set the memory and map limits to something low like 16mb. This forces the pixel cache to disk and only a few scanlines at a time are allocated in memory. Your process will run slower but it will consume far less memory.