How should I handle big schema?
josephj opened this issue · comments
Joseph Chiang commented
I haven't figure out how to resolve this issue yet.
This libaray works fine when the schema is not too big. However, when I try to use a realworld schema it always fails at buildSchema
. My schema is 444KB with 16K lines.
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
I do increase my memory to 8GB but it doesn't helps.
I am willing to make a simpler schema but it's also quite tricky to deal with the nested props and types. Any workaround or tools would be welcome