IM not using enough memory
Posted: 2015-02-06T08:03:01-07:00
Hello,
This is probably the first
In my case IM isn't using enough memory. I have 16GB of ram but identify -resource list returns:
[/c/obrazki800] % convert -list resource
Resource limits:
Width: 214.7MP
Height: 214.7MP
Area: 8.4301GP
Memory: 2B [sic!]
Map: 7.8512GiB
Disk: unlimited
File: 1536
Thread: 12
Throttle: 0
Time: unlimited
[/c/obrazki800] % convert -version
Version: ImageMagick 6.9.0-4 Q16 x86 2015-01-10 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates (built-in): bzlib cairo freetype jbig jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
This is static version of IM distributed as zip archive. System is Windows 7 Pro SP1 64-bit
Incresing memory usage by -limit option doesn't speed up processing. Also in system resources only ca. 4GB of memory are used, 12GB are available to use.
Example of command:
mogrify -depth 8 -verbose -resize ">2500x>2500" -density 72 -quality 80 -format jpg -path c:\\obrazki800 -sampling-factor 1x1
-limit memory 8192MB *.jpg
Example of -verbose output:
97439_1(1).jpg JPEG 12255x13440 12255x13440+0+0 8-bit sRGB 18.53MB 2.777u 0:02.786
97439_1(1).jpg=>c:\obrazki800\97439_1(1).jpg JPEG 12255x13440=>2280x2500 2280x2500+0+0 8-bit sRGB 951KB 312.626u 2:39.345
I am processing JPGs in sizes above 12000px x 12000px and it is really, really, slow.
This is probably the first
In my case IM isn't using enough memory. I have 16GB of ram but identify -resource list returns:
[/c/obrazki800] % convert -list resource
Resource limits:
Width: 214.7MP
Height: 214.7MP
Area: 8.4301GP
Memory: 2B [sic!]
Map: 7.8512GiB
Disk: unlimited
File: 1536
Thread: 12
Throttle: 0
Time: unlimited
[/c/obrazki800] % convert -version
Version: ImageMagick 6.9.0-4 Q16 x86 2015-01-10 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates (built-in): bzlib cairo freetype jbig jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
This is static version of IM distributed as zip archive. System is Windows 7 Pro SP1 64-bit
Incresing memory usage by -limit option doesn't speed up processing. Also in system resources only ca. 4GB of memory are used, 12GB are available to use.
Example of command:
mogrify -depth 8 -verbose -resize ">2500x>2500" -density 72 -quality 80 -format jpg -path c:\\obrazki800 -sampling-factor 1x1
-limit memory 8192MB *.jpg
Example of -verbose output:
97439_1(1).jpg JPEG 12255x13440 12255x13440+0+0 8-bit sRGB 18.53MB 2.777u 0:02.786
97439_1(1).jpg=>c:\obrazki800\97439_1(1).jpg JPEG 12255x13440=>2280x2500 2280x2500+0+0 8-bit sRGB 951KB 312.626u 2:39.345
I am processing JPGs in sizes above 12000px x 12000px and it is really, really, slow.