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(dpp): re2 memory leak #301

Merged
merged 5 commits into from
Mar 16, 2022
Merged

fix(dpp): re2 memory leak #301

merged 5 commits into from
Mar 16, 2022

Conversation

shuplenkov
Copy link
Collaborator

@shuplenkov shuplenkov commented Mar 16, 2022

Issue being fixed or feature implemented

RuntimeError: abort(OOM). Build with -s ASSERTIONS=1 for more info. at abort (/node_modules/@dashevo/re2-wasm/build/wasm/re2.js:9:10782) at abortOnCannotGrowMemory (/node_modules/@dashevo/re2-wasm/build/wasm/re2.js:18:41713) at _emscripten_resize_heap (/node_modules/@dashevo/re2-wasm/build/wasm/re2.js:18:41806)

What was done?

Switched to the new wasm-re2 package

How Has This Been Tested?

With tests

Breaking Changes

No

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shuplenkov shuplenkov added this to the v0.22.0 milestone Mar 16, 2022
Copy link
Member

@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

Good job, mate! 👍

@shuplenkov shuplenkov merged commit c82240d into v0.22-dev Mar 16, 2022
@shuplenkov shuplenkov deleted the re2-memoty-leak branch March 16, 2022 15:14
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.

2 participants