emscripten-core / emscripten-core/emscripten
Testing for memory leaks
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
I'm opening up this to kick off a discussion around how to test for memory leaks as first raised in https://github.com/emscripten-core/emscripten/issues/18723.
In [eye-js](https://github.com/eyereasoner/eye-js) we have [the following test suites](https://github.com/eyereasoner/eye-js/tree/main/__tests_memory__) which are used to test for memory leaks in node and browser under various conditions.
How would you like to go about running these kinds of tests here upstream? Are there existing related tests to extend/build off?
Contributor guide
Assessment
This issue has not been assessed yet.