platform
platform copied to clipboard
Big DOT graphs cannot be rendered
Description
Big DOT graphs cannot be rendered. The following error happens:
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
Looks like the same as https://github.com/mdaines/viz.js/issues/89
Reproducability
http://w3id.org/hobbit/experiments#1605089861961
Solution
Another option would be to render graphs on the server.
- benchmark should generate and store SVG in experiment result model
- HOBBIT UI should display all SVG data in the result page (this would even allow for other kind of imagery)
Preferred solution:
- benchmark generates SVG and stores it in RDF result model
- UI renders SVG