Search found 3 matches

by donniedarko
2017-08-10T16:11:10-07:00
Forum: Bugs
Topic: GIF allocates 128MB of memory to dither
Replies: 8
Views: 11192

Re: GIF allocates 128MB of memory to dither


I suspect the problem is independent of SVG
I suspect the memory problem is entirely in the second convert.
Meanwhile, "-treedepth" might reduce memory usage


If a GIF dither occurs, it appears the code pointed out at the top will allocate a 128Mb buffer for this purpose. The code doesn't make ...
by donniedarko
2017-08-10T01:02:17-07:00
Forum: Bugs
Topic: GIF allocates 128MB of memory to dither
Replies: 8
Views: 11192

Re: GIF allocates 128MB of memory to dither

Thank you for your quick reply

My SVG renderer is

SVG rw+ Scalable Vector Graphics (XML 2.9.1)

The SVG files created by the application are quite small, so although they process badly, they don't cripple the system.

When I re-ran with the arguments re-arranged:

convert s1.svg -resize x64 s1 ...
by donniedarko
2017-08-09T23:27:00-07:00
Forum: Bugs
Topic: GIF allocates 128MB of memory to dither
Replies: 8
Views: 11192

GIF allocates 128MB of memory to dither

I am using ImageMagick in a Linux application as part of an image translation pipeline. I've been having problems with the server OOM killing processes. The command I am running can be replicated from the command line:

$ convert -resize x64 s1.svg s1.gif

s1.svg looks like this:

<svg xmlns="http ...