question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while rendering a graph with more than 270 edges

See original GitHub issue

I’m facing below error when I increase the number of edges in the graph after a certain limit. Can someone please help me in resolving this? 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

Here is the code snippet d3.select("#app").graphviz().renderDot(data); console.log(d3)

Here are the dependencies and their versions d3: 5.9.1 d3-graphviz: 2.6.1 fs: 0.0.1-security

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
magjaccommented, Aug 29, 2022

@vinaycheguri0245: It’s a dependency of d3-graphviz. See https://github.com/magjac/d3-graphviz#defining-the-hpcc-jswasm-script-tag.

If you need additional help, I suggest you use Stack Overflow instead. This issue was about something completely different.

0reactions
vinaycheguri0245commented, Aug 29, 2022

@magjac here are the dependencies present in my project. There isn’t any dependency like @hpcc-js/wasm. I’ve also tried adding @hpcc-js/wasm dependency of version 1.15.4 but still the issue remains "dependencies": { "d3": "6.6.0", "d3-graphviz": "4.1.1", "fs": "0.0.1-security" }, "devDependencies": { "@babel/core": "7.2.0", "parcel-bundler": "^1.6.1" }

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with graph.write.png...AssertionError: 1 · Issue #203
So i'm running this code and it tells me that there is a certain syntax error in /tmp/tmpgIPxNG. Something is not working when...
Read more >
Using mxgraph to Construct and Render a Graph from an ...
It may be worth noting that I can successfully construct and render a graph when manually inserting vertices and edges via the graph....
Read more >
Common issues and resolutions for Power Apps
A list of common issues and resolutions within Power Apps.
Read more >
Draw a Graph Using LaTeX | Baeldung on Computer Science
In this tutorial, we'll discuss how to draw a graph using LaTeX. ... For this reason, if our graph holds more than a...
Read more >
exported-issues-01-July-2016.xml - Nothing Here - Graphviz
1 In complex graphs edges created by dot are split in multiple spline ... than 7000 nodes and more than 8000 edges). dot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found