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

Investigate out of wasm memory in vitest #7472

Open
mathieu-lemuzic opened this issue Dec 10, 2024 · 0 comments
Open

Investigate out of wasm memory in vitest #7472

mathieu-lemuzic opened this issue Dec 10, 2024 · 0 comments
Assignees

Comments

@mathieu-lemuzic
Copy link
Contributor

mathieu-lemuzic commented Dec 10, 2024

Investigate the following error:

RangeError: WebAssembly.instantiate(): Out of memory: wasm memory

It occurs in core-frontend tests and is caused by the meshoptimizer module which loads wasm code at module import time and seems to bother vitest somehow. My educated guess is that there is a memory leak in vitest and that wasm modules are not cleaned up between test runs.

It was introduced in #6956 where we temporarily suppressed it by adjusting the vitest config to enable dangerouslyIgnoreUnhandledErrors.

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

2 participants