Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Crio free memory requirements

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?

0 Kudos
Message 1 of 3
(751 Views)

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

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 3
(736 Views)

Thanks.

0 Kudos
Message 3 of 3
(694 Views)