react-native-debugger
react-native-debugger copied to clipboard
React Native Debugger Helper memory leak
This just happens if I leave React Native Debugger running for a few hours or overnight
![image](https://user-images.githubusercontent.com/789577/50175251-4c675300-02ca-11e9-8ef8-40db9746c36a.png)
React Native Debugger app version: reproduces on 0.8.1 and 0.8.2 React Native version: 0.55.4 Platform: iOS Is real device of platform: No, iOS Simulator Operating System: macOS 10.14 (18A389)
Same problem after updated to 0.8.2 today. reloading JS bundle is really slow
yes.. I am also experiencing this issues. React Native Debugger was using 1.2 GB of memory and the Android Simulator was closed since hours on Ubuntu 18.04. I love the app. Thanks
I must restart the debugger a few hours later due to the memory leak and my computer just hang up. But I think the problem is caused by official react native debugger itself. Because the memory leak problem is also exist with that one.
Computer was going slow after a few hours.. sure enough, RN Debugger using all my RAM..
me also getting pretty much 5gb of ram on react native debugger
I love the apps, but its takes all the ram available and the perf of my laptop is too slow I got also 6go of ram taken
same here, I love how useful this application is, I sure hope this memory leak issue gets fixed.
+1 Same Here
The issue is still here, any update?
Its not only the Memory. It affects the CPU as well.
Hello.
Could someone give an example project where this behaviour happens?
We need more information.
Specifically, developer tools has memory leak. I think it's because of logs or something are not cleaned.
This is after a few hours working with RN Debugger:
Right click and toggle it:
And result:
Any update on this issue? I also have same issue with mac
Hello.
Could someone give an example project where this behaviour happens?
We need more information.
For me it happens even on a freshly created RN app (npx react-native init App
). Connect react-native-debugger
to it and my RAM will eat into 20-30GB after a few hours, whether I do something or not.
My system:
MacBook Pro (15-inch, 2016)
Processor: 2,9 GHz Quad-Core Intel Core i7
Memory: 16 GB 2133 MHz LPDDR3
This works for me, use it by opening the debugger, in the file menu bar, go to Debugger > Open Config File and paste the following (view the url for more info):
// Refresh devtools when doing JS reload every N times. (-1 for disabled)
// This can effectively avoid possible memory leaks (Like
// https://github.com/jhen0409/react-native-debugger/issues/405) in devtools.
timesJSLoadToRefreshDevTools: 5,
This works for me, use it by opening the debugger, in the file menu bar, go to Debugger > Open Config File and paste the following (view the url for more info):
// Refresh devtools when doing JS reload every N times. (-1 for disabled) // This can effectively avoid possible memory leaks (Like // https://github.com/jhen0409/react-native-debugger/issues/405) in devtools. timesJSLoadToRefreshDevTools: 5,
What exactly does this do?