Skip to content

Memory issues in Edge #8

@jdahdah

Description

@jdahdah

Hey, I'm running into some memory issues with your script in MS Edge. I'm using your default maxWidth and maxHeight of 1024px. When I try to upload an image with the dimensions 7525×5019px, Edge 14.14393 on Windows 10 aborts the upload with the following error:

Not enough storage is available to complete this operation.

It points to line 167:
ctx.drawImage(img, 0, 0);

According to this, IE can handle a canvas of maximum 8,192×8,192px, and Edge can probably handle a lot more, so I should be well within the boundaries. I'm having no issues in IE10 or IE11. Any idea what could be causing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions