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

fix: memory leak #29

Merged
merged 1 commit into from Dec 7, 2023
Merged

fix: memory leak #29

merged 1 commit into from Dec 7, 2023

Conversation

Gozala
Copy link
Contributor

@Gozala Gozala commented Dec 7, 2023

Memory leak was caused by rustwasm/wee_alloc#106. This PR fixes the leak by removes lightweight allocator

I have also added a test, which is now disabled, that hashes 17GB in a loop to verify expected memory use. Test is disabled because it takes a long time to run.

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK rust but looks like the test proves this fixes the issue so that's good enough for me 😁

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thanks @Gozala

@vasco-santos vasco-santos merged commit c1fad61 into main Dec 7, 2023
3 checks passed
@vasco-santos vasco-santos deleted the fix/memory-leak branch December 7, 2023 08:42
vasco-santos pushed a commit that referenced this pull request Dec 7, 2023
🤖 I have created a release *beep* *boop*
---


##
[3.1.1](v3.1.0...v3.1.1)
(2023-12-07)


### Bug Fixes

* memory leak
([#29](#29))
([c1fad61](c1fad61))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

None yet

3 participants