Hi,
I'm working with Magick++ and Windows XP 32bits, 2Gb RAM, 70Gb HD...
When I use getPixels from a big image (1559x25937) I'have the next exception "Magick::ErrorResourceLimit"
How and Where can I setting limits? Magick++ take limits from configuration files or environment variables on windows xp? I modified configuration files (configure.xml and policy.xml) but this don't work.
thanks
Javi
Exception Magick::ErrorResourceLimit
Re: Exception Magick::ErrorResourceLimit
Are you trying to getPixels() for the entire image? If so you would likely get a resource limit exception. Instead try grabbing a scanline at a time. Otherwise see http://www.imagemagick.org/script/resources.php. Try setting the area limit to 0 to force all pixels to disk to reduce the memory requirements. If that fails, set MAGICK_DEBUG to cache to track how ImageMagick is allocating your image resources.
Re: Exception Magick::ErrorResourceLimit
When the process start writing to disk crash wih exception memory allocation, but resources isn't full (view log).
[IMG=http://img849.imageshack.us/img849/5236/errorzv.jpg][/IMG]
why do it write to disk?
thanks
Javo
[IMG=http://img849.imageshack.us/img849/5236/errorzv.jpg][/IMG]
why do it write to disk?
thanks
Javo
Re: Exception Magick::ErrorResourceLimit
any idea?
thanks
Javi
thanks
Javi