emscripten-core / emscripten-core/emscripten
wasm-ld memory usage
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.