-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
RN 0.60 & Windows 10 Memory leak #25568
Comments
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. |
Can confirm this is also happening on Linux with a freshly created project. React Native version: Steps To Reproduce
|
Same problem here, the computer crashes.
Binaries: |
Same here System: So.. memory leak occurs on all Operating System (OSX, Linux, and Windows) |
Hmm. Confused. But while I downgrade to 0.59.x. It back to normal and no memory leak occurs |
Seems to be dependent on the node version. I'm getting memory leaks with node v12.6, but not node v10.16. |
Maybe a watchman issue? I notice all the reports here except @hedikasmanto don't have watchman installed. I'm not able to install watchman on my setup though, so I can't test this theory out. |
This is a Node >=12.5 issue, see: react-native-community/cli#485 (comment). Feel free to send these report to the Node.js team |
are you sure its a >=12.5 issue? I'm on v10.16.3 and getting
using react-native start - i previously had this issue but fixed with --max_old_space_size=8192 but i can't figure out how to pass args to 'react-native start' |
ReactNative 0.60 didn't start the server on Windows 10. After a long time, all RAM has been used.
React Native version:
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Memory: 5.98 GB / 15.85 GB
Binaries:
Node: 12.5.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.16.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.4.0.0 AI-183.6156.11.34.5522156
react-native: 0.60.0
Steps To Reproduce
Describe what you expected to happen:
Project starts normally
Actual behavior:
Huge memory leak, unexpected termination
Related to Issue 25551
The text was updated successfully, but these errors were encountered: