From: cristy Date: Sat, 23 Oct 2010 23:56:56 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8639 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2abf8b0839f30417f168d52384bb9fc15537cca3;p=imagemagick --- diff --git a/magick/resource.c b/magick/resource.c index deb89d3a8..8e4b0384d 100644 --- a/magick/resource.c +++ b/magick/resource.c @@ -102,7 +102,7 @@ static ResourceInfo MagickULLConstant(0), MagickULLConstant(0), MagickULLConstant(0), - MagickULLConstant(1536)*1024*1024/sizeof(PixelPacket), + MagickULLConstant(3072)*1024*1024/sizeof(PixelPacket), MagickULLConstant(1536)*1024*1024, MagickULLConstant(3072)*1024*1024, MagickResourceInfinity, @@ -921,7 +921,7 @@ MagickExport MagickBooleanType ResourceComponentGenesis(void) #if defined(PixelCacheThreshold) memory=PixelCacheThreshold; #endif - (void) SetMagickResourceLimit(AreaResource,memory/sizeof(PixelPacket)); + (void) SetMagickResourceLimit(AreaResource,2*memory/sizeof(PixelPacket)); (void) SetMagickResourceLimit(MemoryResource,memory); (void) SetMagickResourceLimit(MapResource,2*memory); limit=GetEnvironmentValue("MAGICK_AREA_LIMIT");