Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] modules memory leaks #23997

Closed
listenzz opened this issue Mar 18, 2019 · 3 comments
Closed

[Android] modules memory leaks #23997

listenzz opened this issue Mar 18, 2019 · 3 comments
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.

Comments

@listenzz
Copy link
Contributor

🐛 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

屏幕快照 2019-03-18 下午7 30 26

dump java heap with Profiler

屏幕快照 2019-03-18 下午7 21 36

double click "R"

force GC and dump java heap again

屏幕快照 2019-03-18 下午7 22 23

Now, we can see memory leaks.

not just built in modules, but also custom modules.

@react-native-bot react-native-bot added the Platform: Android Android applications. label Mar 18, 2019
@react-native-bot
Copy link
Collaborator

Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety?

👉 Click here if you want to take another look at the Bug Report issue template.

@stale
Copy link

stale bot commented Aug 2, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 2, 2019
@stale
Copy link

stale bot commented Aug 9, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Aug 9, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.
Projects
None yet
Development

No branches or pull requests

3 participants