Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Cache resources exhausted when converting to gif #74

Closed
spalladino opened this issue Jan 22, 2020 · 3 comments
Closed

Cache resources exhausted when converting to gif #74

spalladino opened this issue Jan 22, 2020 · 3 comments

Comments

@spalladino
Copy link

On a 30s cast, when running the conversion with default parameters, I'm getting the following error, and the resulting gif is truncated:

convert-im6.q16: cache resources exhausted `/tmp/tmp.Xh5BmZC2by/41.png' @ error/cache.c/OpenPixelCache/4083.

I'm on node 10.13.0, gifsicle 1.92, and imagemagick 6.9.10-23, on Ubuntu 19.10. Thanks!

@niklashhh
Copy link

niklashhh commented Feb 13, 2020

I have the same issue.
Seems like it's an issue in the GIF generation part...
Having DEBUG=1 does not provide any info when it's generating the GIF.

@niklashhh
Copy link

The problem got solved by commenting out all of the resource policies from /etc/ImageMagick-6/policy.xml file.

ImageMagick/ImageMagick#396

@ku1ik
Copy link
Contributor

ku1ik commented Aug 14, 2022

You can also try https://github.com/asciinema/agg , which is a successor to asciicast2gif.

@ku1ik ku1ik closed this as completed Aug 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants