michaelbromley / michaelbromley/chromata

Memory issue with large images

Open
#4 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
381
Forks
74
PR merge metrics
No merged PRs in 30d

Description

This script is pretty cool man! However, when trying to use this on large images (5000x4000 px) I get "Error code: Out of Memory" in the browser. I do have enough RAM, and I've tried with different browsers, so I'm not sure where the issue lies. The reason for the huge image-size is to get high resolution outputs. Is there any workaround for this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is identified in the issue. Reproduce the failure in a browser with a 5000x4000 image, then trace the image-processing path and memory use; done means high-resolution output no longer triggers the browser out-of-memory error or a documented workaround is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.