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

Possible memory leak when checking webp? #48

Open
dnish opened this issue Oct 25, 2022 · 0 comments
Open

Possible memory leak when checking webp? #48

dnish opened this issue Oct 25, 2022 · 0 comments

Comments

@dnish
Copy link

dnish commented Oct 25, 2022

Hey,
while debugging our application, I found a very big JSArrayBufferData object in the memory profile. The function which caused this was the decode function of @cwasm/webp. When checking the dependencies, I got the following output:

└─┬ image-hash@5.3.1
  └─┬ @cwasm/webp@0.1.5
    └── @canvas/image-data@1.0.0

The object never gets collected by the garbage collection, even when I force it. So I guess it's a possible bug. Maybe we can replace that dependency?

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

1 participant