Coder Social home page Coder Social logo

Comments (4)

mdaines avatar mdaines commented on May 18, 2024

Thanks for reporting this. The Viz.js wrapper code wasn't freeing memory allocated by the Graphviz library. This is addressed in 425313e and I'll post a release shortly.

from viz-js.

mdaines avatar mdaines commented on May 18, 2024

https://github.com/mdaines/viz.js/releases/tag/1.0.1

from viz-js.

innovimax avatar innovimax commented on May 18, 2024

I just got the same issue today

Error: InternalError: uncaught exception: 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 jsStackTrace@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:20800 stackTrace@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:20983 abort@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:28:5424 abortOnCannotGrowMemory@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:21343 enlargeMemory@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:21788 Module/Runtime.dynamicAlloc@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:6269 _sbrk@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:602577 M4@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:21:7406 P4@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:21:19271 sF@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:9:178843 hF@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:9:174584 nF@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:9:176587 Ud@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:11:65882 Nd@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:11:59924 uR@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:10:139781 II@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:13:103660 gI@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:13:66228 uJ@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:13:146116 _H@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:13:60223 EH@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:13:37406 KH@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:13:47922 bG@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:9:204789 dc@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:11:857 ccallFunc@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:5:8075 Viz@http://mdaines.github.io/viz.js/bower_components/viz.js/viz.js:54:25 onmessage@http://mdaines.github.io/viz.js/worker.js:4:16 If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

from viz-js.

mdaines avatar mdaines commented on May 18, 2024

@innovimax, it looks like this happened using the Viz.js demo page. Do you mind posting the graph you used? Did you run into this over many changes to the graph?

from viz-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.