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

workaround wasmer leak #3529

Merged
merged 3 commits into from
Jul 24, 2024
Merged

workaround wasmer leak #3529

merged 3 commits into from
Jul 24, 2024

Conversation

tzemanovic
Copy link
Member

@tzemanovic tzemanovic commented Jul 18, 2024

Describe your changes

workaround for wasmerio/wasmer#4377 and wasmerio/wasmer#4949

Indicate on which release or other PRs this topic is based on

v0.40.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@brentstone brentstone mentioned this pull request Jul 19, 2024
@tzemanovic tzemanovic changed the title wasmer leak hunt workaround wasmer leak Jul 22, 2024
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

Attention: Patch coverage is 91.73554% with 10 lines in your changes missing coverage. Please review.

Project coverage is 53.49%. Comparing base (8479d38) to head (841dbf8).
Report is 4 commits behind head on main.

Files Patch % Lines
...tes/namada/src/vm/wasm/compilation_cache/common.rs 84.37% 10 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3529   +/-   ##
=======================================
  Coverage   53.48%   53.49%           
=======================================
  Files         320      320           
  Lines      110000   110044   +44     
=======================================
+ Hits        58832    58863   +31     
- Misses      51168    51181   +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Fraccaman
Copy link
Member

Fraccaman commented Jul 23, 2024

tested on an internal network, can't reproduce the memory leak anymore 👍

@tzemanovic tzemanovic marked this pull request as ready for review July 23, 2024 15:19
tzemanovic added a commit that referenced this pull request Jul 23, 2024
@tzemanovic tzemanovic requested a review from sug0 July 23, 2024 15:20
brentstone added a commit that referenced this pull request Jul 23, 2024
* tomas/leak-hunt:
  changelog: add #3529
  workaround wasmer store segfault by keeping it in cache
  use a weak Rc in wasm memory to avoid leaking it
@sug0 sug0 self-requested a review July 24, 2024 11:41
@tzemanovic
Copy link
Member Author

(squashed fixups)

brentstone added a commit that referenced this pull request Jul 24, 2024
* tomas/leak-hunt:
  changelog: add #3529
  workaround wasmer store segfault by keeping it in cache
  use a weak Rc in wasm memory to avoid leaking it
@brentstone brentstone merged commit 35bf0d4 into main Jul 24, 2024
19 checks passed
@brentstone brentstone deleted the tomas/leak-hunt branch July 24, 2024 22:59
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.

4 participants