[Android] modules memory leaks #23997
Labels
Bug
Platform: Android
Android applications.
Ran Commands
One of our bots successfully processed a command.
Stale
There has been a lack of activity on this issue and it may be closed soon.
🐛 Bug Report
Native modules memory leaks when reload bundle by double click "R".
To Reproduce
create react app
react-native init MyApp --template typescript # & npm start
open the android project by AndroidStudio,Run app through 'Run' button
dump java heap with Profiler
double click "R"
force GC and dump java heap again
Now, we can see memory leaks.
not just built in modules, but also custom modules.
The text was updated successfully, but these errors were encountered: