工具:vscode:vscode-graphviz:Cannot enlarge memory arrays

https://marketplace.visualstudio.com/items?itemName=joaompinto.vscode-graphviz

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.

如果想要画的图结构超大,可能遇到这个内存不够用的情况。需要重新编译这个dll,扩大总使用内存。

猜你喜欢

转载自blog.csdn.net/qq_36428903/article/details/133377487