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

Memory leak issue #58

Open
RamanRajpoot opened this issue Oct 21, 2020 · 0 comments
Open

Memory leak issue #58

RamanRajpoot opened this issue Oct 21, 2020 · 0 comments

Comments

@RamanRajpoot
Copy link

Hi
I am using the tiff.js library in my react application to render tiff images on the browser. It was working fine till I am using it locally on my machine but after putting it on a 2 Gb AWS server I was not able to start my application. Hitting npm start I am getting an error.
Getting an error as:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Later I figured out that the tiff.js dependency is taking too much memory and that leads to a heap out of memory.
So as to confirm that I removed the dependency from the package.json file, the application starts normally.

There is some serious issue with the library which is leading to a memory leak.
Does anyone know how to fix this?

@RamanRajpoot RamanRajpoot changed the title Mamory leak issue Memory leak issue Oct 21, 2020
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