Skip to content

How should I handle big schema? #1407

@josephj

Description

@josephj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions