-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck Forever Eating Memory #369
Comments
Hi! This image is … strange 😁️. It’s big, it includes a lot of raster images as base64 URLs nested in Technically, it’s not stuck forever (it’s not an endless loop), it’s just incredibly slow, and it tries to eat all the available memory it can find. If you really want to use CairoSVG to render this document, you can remove these two lines that keep a cache of references and is responsible for the memory hunger. It’s still really slow (more than 1 hour?), the rendering may be broken, but at least it won’t take too much memory. We will probably not "fix" anything in CairoSVG that could help to render this kind of images. CairoSVG is just not the library you’re looking for 😢️. (For the record, and if anybody wants to improve this, it doesn’t work because 1- CairoSVG caches all the elements displayed as |
@liZe Cheers
|
CairoSVG==2.5.2
The Code:
The SVG compressed:
test.zip
The text was updated successfully, but these errors were encountered: