custom-react-scripts icon indicating copy to clipboard operation
custom-react-scripts copied to clipboard

CPU, RAM drain

Open marcosfede opened this issue 7 years ago • 7 comments

same issue as #110, reopening here since the original author closed that one. I'm having several node proceses spawned, taking almost 90% of CPU Power and 500Mb of ram each. Hot reloading is also impacted, taking between 5 to 10 seconds to reload after a changed is saved.

OS: Tested on both Linux and Mac custom-react-scripts version : 0.2.0 react version: 16

marcosfede avatar Oct 09 '17 19:10 marcosfede

Thanks for reporting @marcosfede, any ideas what can cause this?

kitze avatar Oct 11 '17 16:10 kitze

Not really, I've tried disabling all custom features on the .env file but the problem still persists. Tried on 4 different machines and I seem to have between 3-4 node proceses taking over the cpu in all of them. Let me know if theres anything I should try. Thanks

marcosfede avatar Oct 12 '17 02:10 marcosfede

Try to update latest react-scripts, i solved this by creating fresh fork of cra and adding just sass which works just Fine.

otaklapka avatar Oct 12 '17 06:10 otaklapka

i`m facing same issue. Otas13, how i can update only scripts?

psycura avatar Oct 15 '17 07:10 psycura

Having the same issue.

JCQuintas avatar Oct 25 '17 12:10 JCQuintas

On my installation those issues were due to webpack-dashboard which was not disabled even if I thought I had done so. See #114

geloescht avatar Oct 28 '17 15:10 geloescht

Disabling REACT_APP_WEBPACK_DASHBOARD did the trick for me. (I event using it. Maybe, if it was connect it wouldn't cause this. I don't know :/)

pedsmoreira avatar Nov 17 '17 07:11 pedsmoreira