Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large and complex schema failing with JavaScript out of memory #400

Closed
TriStarGod opened this issue Jun 18, 2021 · 1 comment
Closed

Large and complex schema failing with JavaScript out of memory #400

TriStarGod opened this issue Jun 18, 2021 · 1 comment

Comments

@TriStarGod
Copy link

TriStarGod commented Jun 18, 2021

Hi,
I have a large and complex 330 line JSON schema that I fed json2ts compile that fails with JavaScript out of memory. Any recommendations to get it to process the file?

I disabled formatting.
I increased memory to 16GBs (Just took longer to fail).

@TriStarGod
Copy link
Author

Ignoring min and max items (ie. ignoreMinAndMaxItems) resolved my issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant