Please correct page http://www.imagemagick.org/script/resou ... nvironment and state that the units is always in megabytes.
Here is a (what I believe typical) user scenaro.
This user (me

I would like to limit memory to 100000 bytes, so I naturally write:[j@jacobnordfalk ~]$ identify -list resource
File Area Memory Map Disk
------------------------------------------------
768 3.96094gb 2.9707gb 7.92188gb 4eb
But this gives:[j@jacobnordfalk ~]$ export MAGICK_MEMORY_LIMIT=100000
that is, 100GB, a factor 1000000 of the expected!!![j@jacobnordfalk ~]$ identify -list resource
File Area Memory Map Disk
------------------------------------------------
768 3.96094gb 97.6562gb 7.92188gb 4eb
If I then tries to use the units shown, to limit to e.g. 5gb:
the unit is ignored and I get a limit of 5 megabytes:[j@jacobnordfalk ~]$ export MAGICK_MEMORY_LIMIT=5gb
[j@jacobnordfalk ~]$ identify -list resource
File Area Memory Map Disk
------------------------------------------------
768 3.96094gb 5mb 7.92188gb 4eb
I can live with that the unit is ignored, but please, save us a lot of time and state in http://www.imagemagick.org/script/resou ... nvironment that the units is always in megabytes
Thanks!
Jacob