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

No rendering due to "Out of memory at ImageData creation error" #59

Open
mdotwills opened this issue Sep 1, 2021 · 5 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@mdotwills
Copy link

Running on Version 92.0.4515.159 (Official Build) (x86_64) on macOS 11.5.2.

Tried to record gif from browser tab via https://gifcap.dev/.

Recording and preview seems to work, but when I click "Render", I see a progress bar that makes no progress and the following in the console:

(999) main.js:1 Uncaught RangeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Out of memory at ImageData creation
    at Worker.u.onmessage (main.js:1)
main.js:1 Uncaught (in promise) RangeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Out of memory at ImageData creation
    at h (main.js:1)
    at Ut.oncreate (main.js:1)
    at AsyncFunction.h (main.js:1)
    at main.js:1
    at h (main.js:1)
    at main.js:1

Repeated attempts at stopping and rendering yield the last error from the console log about. There is no output.

@joaomoreno
Copy link
Owner

How long (time) is the GIF and what's the pixel dimension of what you're recording? 🙈

@lramos15
Copy link

I see this often even with like 30 second gifs on 4K monitors. I even try to make the bounding box as small as possible for the gif but with no luck. Albeit this is an M1 mac with only 8gb of RAM but it still says I have ~1Gb free. Would be cool if there was an option to downscale the whole image to like 1440p or 1080p as I definitely don't need the full 4K it's just what my monitor is.

@joaomoreno joaomoreno self-assigned this Nov 11, 2021
@joaomoreno joaomoreno added the bug Something isn't working label Nov 11, 2021
@HKalbasi
Copy link

Same issue with 4k monitor and 1 minute record. It would be great to store it on disk, but changing quality will work for most cases I think.

@l-monninger
Copy link

Still present.

@radical-ed
Copy link

Still present - MacBook Pro, 32GB RAM, Sonoma 14.1.1, Chrome Version 119.0.6045.159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants