Search found 5 matches

by ltaber@gmail.com
2014-10-29T11:15:25-07:00
Forum: Bugs
Topic: convert image rotate excessive memory usage >2.5GByte
Replies: 12
Views: 8832

Re: convert image rotate excessive memory usage >2.5GByte

I added the arguments:
-limit memory 500MiB -limit map 1GiB
to the convert command and it seems to work so far.

My service provider reports:
identify -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
768 67.489GB ...
by ltaber@gmail.com
2014-10-29T08:14:00-07:00
Forum: Bugs
Topic: convert image rotate excessive memory usage >2.5GByte
Replies: 12
Views: 8832

Re: convert image rotate excessive memory usage >2.5GByte

I use a perl script to run convert, though it also uses excessive memory (200+ Bytes per pixel) when run from the command line.

How do I determine the size of the temporary files? I trust convert will delete them when it is finished.

Here is a snippet of the perl code (which I doubt makes any ...
by ltaber@gmail.com
2014-10-21T09:51:26-07:00
Forum: Bugs
Topic: convert image rotate excessive memory usage >2.5GByte
Replies: 12
Views: 8832

Re: convert image rotate excessive memory usage >2.5GByte

The suggested command line:
convert -limit memory 2MiB -limit map 4MiB img_0095.jpg -rotate 20 -quality 95 tmp.jpg
did worked. But took 13 minutes for the one image.

The calculations (2.9GBytes/12MPixel) show 240 Bytes per pixel being used (2.9GBytes/12MPixel). The comments about 3 or 4 bytes or ...
by ltaber@gmail.com
2014-10-19T13:11:46-07:00
Forum: Bugs
Topic: convert image rotate excessive memory usage >2.5GByte
Replies: 12
Views: 8832

Re: convert image rotate excessive memory usage >2.5GByte

Hi,

I changed the order of the command line. This time is used 2.89 GBytes of RAM.

/usr/bin/time -v convert img_0095.jpg -rotate 20 -quality 95 tmp.jpg

The process still got bounced by my service provider. Here is the output from /usr/bin/time -v
Command being timed: "convert img_0095.jpg ...
by ltaber@gmail.com
2014-10-18T20:28:37-07:00
Forum: Bugs
Topic: convert image rotate excessive memory usage >2.5GByte
Replies: 12
Views: 8832

convert image rotate excessive memory usage >2.5GByte

The command:
convert -quality 95 -rotate 20 img_0095.jpg at2011-0095r.jpg
with the image avaliable here:
http://ltaber.blacksteel.com/at/at2011/august2/img_0095.jpg
was killed my my service provider for excessive memory usage. /usr/bin/time shows almost 3GBytes of memory usage:
Command ...