This is not a bug, strictly speaking, because anyhow IM does its job, but somehow, I find that this might render ImageMagick unusable in many practical cases. I need to concatenate few thousands TIFF grayscale frames in one multipage TIFF image. For this I run the following command:
For 3517 files (361952 bytes each) it only takes 7 minutes which is perfectly fine with me and results in a 1361M document. However, the amount of RAM it consumes in the process is around 12.1 Gb. Luckily I have a machine with 32 Gb of RAM available, but before I realized this I already almost killed my laptop from overheating (Linux ran out of RAM and swap and ended up killing itself after reaching a critical temperature of 90 degrees).convert *.TIF -adjoin bleaching.tiff
Is there anything I am doing wrong? Why such a high amount of RAM is required for seemingly trivial operation? Is there a workaround? Is this going to be considered as a bug and fixed later on or I will need to buy even more RAM to concatenate larger movies?
Thanks!
zaytsev@loki:~$ uname -a
Linux loki 2.6.28-18-server #60-Ubuntu SMP Fri Mar 12 05:11:07 UTC 2010 x86_64 GNU/Linux
zaytsev@loki:~$ convert -version
Version: ImageMagick 6.4.5 2009-06-04 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC