Node red memory useage Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
jram
Posts: 9
Joined: Mon Mar 13, 2017 7:42 pm

Node red memory useage

Post by jram »

It’s recommended that node red be started with the optional parameter “ node-red-pi --max-old-space-size=256”. I’m wondering where I can find the startup command so I can check please.
User avatar
Joulinar
Posts: 2297
Joined: Sat Nov 16, 2019 12:49 am

Re: Node red memory useage

Post by Joulinar »

Hi,

I'm not sure if this is needed. According node red website, this is mention on the "Running locally" section only. No statement for this within the "Running as a service" section.

https://nodered.org/docs/getting-started/raspberrypi

Next to this, the service is executed with node-red command. To have the memory feature used, you would need to execute the node-red-pi command. But as I said, no statement on this within the service section.

Next to that, if you try to install node red on DietPi by yourselves, you will receive the following

Code: Select all

root@DietPiVM1:~# bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Diet-Pi detected - only going to add the  node-red-start, -stop, -log  commands.
Flow files and other things worth backing up can be found in the /mnt/dietpi_userdata/node-red directory.

Use the  dietpi-software  command to un-install and re-install Node-RED.
You see, node red is recommanding to use dietpi-software as it will take care on everything.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
jram
Posts: 9
Joined: Mon Mar 13, 2017 7:42 pm

Re: Node red memory useage

Post by jram »

Thank you 😀
Post Reply