Skip to content
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

memory issue #201

Closed
jjhesk opened this issue Jun 8, 2023 · 1 comment
Closed

memory issue #201

jjhesk opened this issue Jun 8, 2023 · 1 comment

Comments

@jjhesk
Copy link

jjhesk commented Jun 8, 2023

I have built gv file with 16000 edges.
I got an error from this

abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "). Build with -s ASSERTIONS=1 for more info.

Are any ways to tune this program to be more memory efficient?
https://graphviz.org/doc/info/command.html

@xflr6
Copy link
Owner

xflr6 commented Jun 8, 2023

Hey, looks like this is about an issue in upstream https://www.graphviz.org (not in the Python wrapper here).

See https://gitlab.com/graphviz/graphviz/-/issues or https://forum.graphviz.org.

@xflr6 xflr6 closed this as completed Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants