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

Unable to perform get image on images of file size more than 4mb. #27

Open
raghav-binary opened this issue Dec 5, 2021 · 0 comments
Open

Comments

@raghav-binary
Copy link

I was trying to fetch colours of images that are more than 4 mb (aprox). The library gets stuck and does not respond. We finally have to restart the server once this happens.

More Context:

  1. We're using this library on our server side to fetch colour of images uploaded.
  2. It works like a charm on my local system even for images as big as 20-25mb.
  3. However, When running on the live server, once an image more than 4 mb is given, the library crashes.
  4. Our server is on AWS, It's an EC2 instance with 2 cores and 1 gb of ram (T4g micro).

Because this works fine on my local, does it have to do something with the heap size on the server? Is there a possible way to configure my node server to allow more memory (If that is the issue) ?

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