10-16-2023 05:47 PM
Hi. I have a crio 9038 that has been rebooting itself. I expect it is due to the memory leak that I believe I have fixed. However to be cautious, I want to measure the memory within the program and alert the operator that a manual reset should be performed soon. My question is, at what free memory level does the crio reset itself? Any ideas?
10-16-2023 06:27 PM
I think it depends on the code. The OS will crash and reboot when there is not enough memory to execute the code. In my experience, the memory leak happens faster when there is file logging involved. You might want to Monitoring CPU and Memory Usage on Real-Time Embedded Targets and log the history to understand when is its limits.
Instead of waiting for the unknown to happen, usually I would recommend scheduling a software reboot regularly. See Reboot LabVIEW Real-Time Controller Programmatically
10-17-2023 01:31 PM
Thanks.