-
Notifications
You must be signed in to change notification settings - Fork 162
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
Memory leak in instance creation #148
Comments
Hi @koponen-styra, thanks for reporting this! I can confirm the leak here. We are currently looking at memory leaks on Wasmer. The one you are experiencing does not come from Go but from the Rust part. |
Small update: we already have a quick fix for the memory leak and we are doing a deep research to find more! |
Great! |
We merged the mentioned PR, and now are solving a small leak when using exports in instances. It should be upstream soon! |
We have a PR in progress that solves all the observed memory leaks: wasmerio/wasmer#1837 (comment)
|
Hi @koponen-styra! Some updates here: The release for |
I'm closing this issue for now as our tests did not reveal any leak actually. Feel free to reopen if needed. |
Thanks for the bug report!
Describe the bug
Releasing the instance doesn't free all memory.
Steps to reproduce
Additional context:
Uncommenting the commented out SetFinalizer call (with TODO note) in import_object.go has no effect.
The text was updated successfully, but these errors were encountered: