Skip to content

wasm-ld memory usage #14485

@radekdoulik

Description

@radekdoulik

I am experiencing increased memory usage in wasm-ld after upgrading emscripten from 2.0.21 to 2.0.23.

It is breaking multiple tests we have mono/wasm. I checked one of these and I see memory usage peaking around 8.8GB with 2.0.21 and 10.9GB with 2.0.23, which is cca 24% increase. Is this a know issue or expected behavior?

I noticed the -O0 was removed from default arguments to enable the new string tail merging. I tried to disable it with -Wl,-O0 to see whether it will affect the memory load. It remained 10.9GB for that particular case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions