I am trying to use Raspberry pi for industrial automation. I am controlling some machines according to some logical condation based on sensor data. I am treegaring Raspberry pi pines to control the machines.
I have 4-5 flows and approx 200+ nodes.
There is one dashboard tab and I am using 2 chart, showing live sensor data and some other user interfaces. Also using 3-4 database node to store and retrive data from database.
I am using Raspberry pi 4 Model B, Ram 4 GB. Using the latest Node red and node js.
The SD card size is 32 gb.
The Pi becom slowing down after 10-15 hours. But after restarting, it become normal.
Is there any way to clear the ram or temp file automatically or is there any other way to make it normal without restarting the pi?