How much memory?
Posted: 2015-10-01T08:27:08-07:00
If I could tack on my own question to this topic - I'm setting up a Linux Redhat Virtual machine dedicated to image processing with IM and I'm wondering how much memory I should ask for. I don't want to ask for an outrageous amount but since I'm not very experienced with Linux I'm not sure what a good amount would be. Right now IM is sometimes failing to convert files and I've also had to add a line of code to delete files from /tmp periodically within my loops. /tmp files are on average 2GB each. Symptoms are out of diskspace errors and also some jpegs only come out half converted (top half is fine, bottom half is gray) with no error message. So I'm running out of memory and swap space (and wondering why IM isn't cleaning up after itself):
It'll mostly be converting and resizing tiffs to jpegs. The tiffs are on average 150-200 MB, a few much larger.
Right now I'm using ImageMagick 6.5.4-7 2014-01-30 Q16 because that was what was available through yum but I want to upgrade to the latest Q8 version. I don't want to ask for more memory or space than IM can actually use. So what are some good starting specs?
Code: Select all
[root@vm137 ~]# free -m
total used free shared buffers cached
Mem: 996 755 240 0 130 297
-/+ buffers/cache: 327 668
Swap: 3675 0 3675
Right now I'm using ImageMagick 6.5.4-7 2014-01-30 Q16 because that was what was available through yum but I want to upgrade to the latest Q8 version. I don't want to ask for more memory or space than IM can actually use. So what are some good starting specs?