zetanumbers / wasm-squeeze

UPX-like utility to create self-decompressable WASM modules
Apache License 2.0
2 stars 0 forks source link

Evaluate out of memory failures #4

Open zetanumbers opened 2 months ago

zetanumbers commented 1 month ago

Seems like a better avenue, but combining data segments might lead to reserving too much memory in RAM for the output.

zetanumbers commented 1 month ago

This happens due to not having enough RAM for decompression, which requires space for compressed data, decompressor's locals, and the output buffer. Better diagnostics for this is desirable and some in-place decompression research could be useful there.