-
Notifications
You must be signed in to change notification settings - Fork 31
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
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #689
Comments
Perhaps some validation to prevent this behavior could help? |
hm looks like an issue with a cycle, MoveTypeLayout and TypeTag both ref themselves. |
Thanks @shanejonas ! |
Hello, any progress on this issue? Looks like the cycle references are not handled correctly |
Experiencing the exact same issue with SUI (blockchain)'s openrpc specification. https://gist.github.com/RdeWilde/b6ec9c3c9e0b921d496e4553b5935300 |
Same Issue |
Describe the bug
Trying to generate a typescript client off of the spec here:
https://raw.githubusercontent.com/MystenLabs/sui/main/sui/open_rpc/spec/openrpc.json
Heap limit is exceeded even after increasing max memory usage for Node:
To Reproduce
Here is a REPL environment to reproduce the issue:
https://replit.com/@MichaelHuang10/FearfulWelloffLeadership#openrpc.json
Expected behavior
Generate a typescript client.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: