ImageMagick memory consumption
Posted: 2018-04-23T12:37:12-07:00
Configuration :
OS: CentOs
identify -version
Version: ImageMagick 7.0.6-7 Q16 x86_64 2017-08-12 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig fpx freetype gslib jng jpeg lcms ltdl lzma pangocairo png ps tiff webp wmf x xml zlib
identify -list resource
Resource limits:
Width: 107.374MP
Height: 107.374MP
Area: 33.3722GP
Memory: 15.5401GiB
Map: 31.0803GiB
Disk: unlimited
File: 48750
Thread: 4
Throttle: 0
Time: unlimited
____________________________________________________________________________________________________________________________
I wanted to know how to know the total memory, map and disk used by an imagemagick command.
I tried few options like -debug cache
Can anybody tell me how to exactly interpret the output?
Also I tried valgrind <command> to know the total heap used.
Please guide in this respect as i need to figure out sane resource limits for my application.
Also are the resource limits on per command basis ?
OS: CentOs
identify -version
Version: ImageMagick 7.0.6-7 Q16 x86_64 2017-08-12 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo djvu fftw fontconfig fpx freetype gslib jng jpeg lcms ltdl lzma pangocairo png ps tiff webp wmf x xml zlib
identify -list resource
Resource limits:
Width: 107.374MP
Height: 107.374MP
Area: 33.3722GP
Memory: 15.5401GiB
Map: 31.0803GiB
Disk: unlimited
File: 48750
Thread: 4
Throttle: 0
Time: unlimited
____________________________________________________________________________________________________________________________
I wanted to know how to know the total memory, map and disk used by an imagemagick command.
I tried few options like -debug cache
Can anybody tell me how to exactly interpret the output?
Also I tried valgrind <command> to know the total heap used.
Please guide in this respect as i need to figure out sane resource limits for my application.
Also are the resource limits on per command basis ?