graphql-voyager icon indicating copy to clipboard operation
graphql-voyager copied to clipboard

GraphQL Voyager Transmitting mode for large Schemas

Open divyamvpandian opened this issue 5 years ago • 2 comments

Hi,

When i open voyager for the schema i have, i can see the left pane listing all objects but the relationship diagram is not getting loaded. I tried with lesser no of types (almost 50% removed) and it gets loaded and i can navigate well. This is similar to https://github.com/APIs-guru/graphql-voyager/issues/63

I see same error - "Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 268435456"

I use rc-29 and i tried to change the voyager min.js from 1677721616 to 1677721632 but it did not seem to get loaded. Can i know if voyager min js in my node modules is used or it will load from cdn.jsdelivr.net.

divyamvpandian avatar May 19 '20 16:05 divyamvpandian

Can i know if voyager min js in my node modules is used or it will load from cdn.jsdelivr.net.

@divyamvpandian If you use our middleware you are definitely using one from cdn.jsdelivr.net. We need to figure out how to read CDN links especially since it will also enable offline support.

IvanGoncharov avatar May 22 '20 09:05 IvanGoncharov

Thanks @IvanGoncharov Just for a test, i changed render voyager js to fetch voyagermin js from my localhost file with memory increased to 16777216 * 32 and can see the diagram getting loaded in FireFox.

divyamvpandian avatar May 22 '20 09:05 divyamvpandian