Skip to content

Error: enlargeMemory #2

@SeanHayes

Description

@SeanHayes

I got this error when trying to parse a Gif 12.7MB large and 498x280.

Uncaught (in promise) Error: enlargeMemory
at enlargeMemory (fastgif.js:41)
at :5000/wasm-function[10]:57
at :5000/wasm-function[13]:3364
at p._exports.then (fastgif.js:98)

It looks like the compiled code specifies its own max memory size and an error is throw when I try to edit the params in new WebAssembly.Memory({initial: 256, maximum: 256}).

Would it be possible to add the wasm source to the repo?

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