-
Notifications
You must be signed in to change notification settings - Fork 350
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
"Cannot enlarge memory arrays" error processing large graph #89
Comments
When processing a large graph, you can try using the Viz(src, { totalMemory: 32 * 1024 * 1024 }) |
It doesn't seem that this option is working anymore. PS. I'm using url web workers |
@mdaines any new set suggestions for working around.? |
+1 would also find this helpful |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got following error message trying process large graph. I suppose it is referring to Emscripten compile options.
Uncaught 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 adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ") at Error at Ga (http://viz-js.com/bower_components/viz.js/viz.js:49:124) at Fa (http://viz-js.com/bower_components/viz.js/viz.js:49:22) at v (http://viz-js.com/bower_components/viz.js/viz.js:1183:101) at Function.ba [as Wa] (http://viz-js.com/bower_components/viz.js/viz.js:34:488) at uc (http://viz-js.com/bower_components/viz.js/viz.js:1103:161) at eQ (http://viz-js.com/bower_components/viz.js/viz.js:1168:7157) at zz (http://viz-js.com/bower_components/viz.js/viz.js:1160:92650) at yz (http://viz-js.com/bower_components/viz.js/viz.js:1160:92582) at Wi (http://viz-js.com/bower_components/viz.js/viz.js:1163:4858) at Vi (http://viz-js.com/bower_components/viz.js/viz.js:1163:4250) If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information
The text was updated successfully, but these errors were encountered: