Out of memory crash on Windows 10 PC

Update.
The site has not crashed now for just over 40 hours which is a record.
I started it in a cmd window with node C:\Users\tbg\AppData\Roaming\npm\node_modules\node-red\red.js --max-old-space-size=8192

I also got the code running to monitor the garbage collection. Here is a graph for the past 12 hours.

I have not had time to research each of the numbers yet, so am not sure what I am looking for / at.

1 Like

The server was up for a record 9 days straight before a Windows Update nagged for a reboot.

I am going to take the solution to be running it with --max-old-space-size=8192.

Thanks everyone for your help - its a bit stressful having so many people expecting five 9's uptime!

Didnt you also update the mysql node to the beta version ? (that had a memory leak?)
so we dont know what really fixed the issue :wink:

No I did not.
It has an update/insert bug that prevents me from using it at the moment.
So the fix is the only single change I made it would seem.

i see .. thanks for the clarification :+1:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.