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

[React DevTools] Memory issue #147

Closed
hushicai opened this issue Sep 26, 2017 · 6 comments
Closed

[React DevTools] Memory issue #147

hushicai opened this issue Sep 26, 2017 · 6 comments
Labels

Comments

@hushicai
Copy link

I wonder that when i use react-native-debugger,the xcode memory grow fast, but after i switch to debugger-ui,it becomes normal...

image

I am using flatList with a setInterval countdown.
image

React Native Debugger app version: 0.77
Platform: IOS
Is real device of platform: NO
Operating System: macOS

@jhen0409
Copy link
Owner

I think some behaviors of react-devtools will cause it, you can try to close react panel (CMD+OPTION+J), in addition for that, RNDebugger should not be much different with debugger-ui.

@jhen0409
Copy link
Owner

Also, if you stay on Runtime is not ready for debugging error for some reason like close RNDebugger or directly close packager, the RND interval will cause the memory issue, reload JS doesn't seem to release memory. I fixed it in 7f02445 here, I'll release new version.

If the above doesn't work for you, provide a minimal example project will be great.

@hushicai
Copy link
Author

hushicai commented Sep 27, 2017

Actually, using the official react-devtools still run into the same issue..

@hushicai
Copy link
Author

Hi, I make a minimal project that can reproduce this issue.
I think it should be something wrong with react-devtools.

@jhen0409
Copy link
Owner

@hushicai Thanks! I'll help to investigate for it, you can also file the issue in react-devtools repo.

@hushicai
Copy link
Author

@jhen0409 jhen0409 changed the title Is there some memory problem? [React DevTools] Memory issue Oct 12, 2017
@hushicai hushicai closed this as completed Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants