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

Throw error when WASM memory limit is reached #1969

Open
45930 opened this issue Jan 13, 2025 · 0 comments
Open

Throw error when WASM memory limit is reached #1969

45930 opened this issue Jan 13, 2025 · 0 comments

Comments

@45930
Copy link
Contributor

45930 commented Jan 13, 2025

Relates to: #1214 (memory leak + not handling OOM well is a recipe for disaster)

User reports node thread hangs after some number of iterations of recursive proving: https://discord.com/channels/484437221055922177/1326949912759500861

When WASM reaches it's memory limit, we should surface this in o1js. Current behavior is that the thread stays active, but cannot do any proving. Desired behavior is to throw an error letting the developer know they are out of WASM memory.

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