Closed soloam closed 3 years ago
I've updated the service script. Please give this a try
Update the nodered service script
iocage console node-red
pkg install -y wget ca_root_nss
wget -O /usr/local/etc/rc.d/nodered https://raw.githubusercontent.com/tprelog/iocage-node-red/11.3-RELEASE/overlay/usr/local/etc/rc.d/nodered
chmod +x /usr/local/etc/rc.d/nodered
Use nodered_moss
to set and enable max-old-space-size
.
max-old-space-size=512
sysrc nodered_moss=512
Restart Node-RED
service nodered restart
If you wish to disable max-old-space-size
after it has been set
sysrc -x nodered_moss
Hello, is it possible to modify the service call to allays call with --max-old-space-size=16000? My flows are very complex and I need this instruction to them start nodered (https://nodered.org/docs/getting-started/raspberrypi), normaly its used in the raspPi, but I need it in my flows to avoid crashes. This problem is reported in te nodered github and being analysed at the moment by the devs.
Thank you