Basically, I try to save memory on my Nginx server under a certain amount, because I'm crazy (according to my friends), and I want to save some money. However, I'm worried that ImageMagick might push it around the edge.
I use -limit area 20MiB
, and I also tried -limit memory 15MiB -limit map 15MiB
, but when checking the process (as it starts) through top -c (with Shift-M)
and ps aux
it shows it, sometimes significantly great memory, to the limit. To give numbers, it can use 35 MB or 40 MB, instead of 20 MB / 30 MB I would expect. I would not be worried about 2 MB or 3 MB, but this is a pretty big bias.
I was told that additional memory may be the ImageMagick overhead when loading the interpreter, etc., but I am not very familiar with Unix programs, so I donβt know what is in this section.
If anyone can explain why this is happening, that would be great. If this is a normal thing, great. I'm just adjusting things to take into account the fact that it can use my limit plus a certain amount, but if it is not, and the -limit
parameter -limit
not limit memory for a certain amount, then what exactly is the point that this parameter is in ImageMagick?
Thanks again for your help in advance, it is very much appreciated, as always.
Vunus
source share