Skip to content

πŸ›πŸ§‘β€πŸ’» - web Out of memory when trying to decompress a 17MB bufferΒ #58

@andynewman10

Description

@andynewman10

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Zstandard Web

Which platforms are affected?

Web

Description

Just trying to decompress a 17MB file, which should be decompressed into a 64MB one.

Here is the exception that I am getting:

Aborted(OOM)
RuntimeError: Aborted(OOM). Build with -sASSERTIONS for more info.
zstd.js 1:4611                                                                    abort
zstd.js 1:7164                                                                    abortOnCannotGrowMemory
zstd.js 1:7267                                                                    _emscripten_resize_heap
zstd.wasm 1:81863                                                                 50
zstd.wasm 1:127200                                                                84
zstd.js 1:7756                                                                    _malloc
zstd.js 32:32                                                                     decompressData

Reproducing the issue

Just try to decompress a moderately large file.

Flutter Version

3.25.3

Relevant Log Output

Flutter dependencies

No response

Additional context and comments

No response

Metadata

Metadata

Assignees

Labels

branchedbugSomething isn't working

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions