emscripten-core / emscripten-core/emscripten

Testing for memory leaks

Open
#18,796 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.