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

Worker leaks 70 Mb of RAM #30

Open
chebum opened this issue Dec 10, 2021 · 0 comments
Open

Worker leaks 70 Mb of RAM #30

chebum opened this issue Dec 10, 2021 · 0 comments

Comments

@chebum
Copy link

chebum commented Dec 10, 2021

The heic2any library uses a web worker to convert HEIC files. After converting a file, the worker remain in memory until page refresh. It leaks about 70Mb on my machine.

Proposed fix: chebum@39327e2

It terminates web worker after 10 seconds of inactivity.

Fixed heic2any.js is available here: https://github.com/chebum/heic2any/tree/master/dist

The fix also includes pull request #27

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