GraphQL voyager breaks with large schemas (only with mutations)
When I try to switch queries to mutation GraphQL voyager with a schema that is about 400,000 lines long it breaks, (it just displays a blank screen). It seems though that this schema is just big enough to cause this issue. Can you fix this problem on online version ?
When a schema loaded, Queries are fine
But when i switched to mutations
After few minutes display a blank screen
This is first time for me. I used this tool frequently, this is the best tool to understand and representation of GraphQL Schema. I have already put 200,000 lines of code but never got this error. Can you fix this online version of graphql voyager @IvanGoncharov ?
Now I open console when i switch to mutations and then blank screen occur, got error.
@IvanGoncharov
can you fix this error on online version @IvanGoncharov @RomanHotsiy @knidarkness ?
the way I see it you have two options-
- break your schema in subdomains
- try with another browser/OS
- increase your machine memory Would recommend closing - as this is not an issue.
We are also having this 'non-issue' ;) Is there a reason why ALLOW_MEMORY_GROWTH cannot be used? Can you point to the part of the project where this emscripten compilation is done?
The issue seems to be coming from viz.js - it has a limit to 256mb. Looks like this fork https://github.com/aduh95/viz.js would solve the issue. as it has support for ALLOW_MEMORY_GROWTH
Now I am not sure what it will take to reimplement voyager around it.