From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent cRIO from getting stuck when running out of RAM

I have been dealing with cRIO running out of RAM and then getting stuck, not responding, not restarting. It is crucial for my application not to get stuck. One way is of course to try to avoid this problem preventively, but I need a solution that safely restarts the device in case of bug for example, so that it does not let the device get stuck. Can you think any solution? Thank you.

0 Kudos
Message 1 of 3
(2,091 Views)

Hi Thomas,

 

on cRIO you can use the watchdog to restart your device in case of "getting stuck"…

 

But nevertheless: a RealTime system should NEVER run "out of memory"!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,088 Views)

If you're running out of memory or railing your CPU so you can't communicate, those are bigger problems than what you're hoping to resolve.

 

Don't waste your time resolving this. Instead, focus on solving either of those.  You'll need to do that to make your application successful and they'll solve your concern as a fun side effect

0 Kudos
Message 3 of 3
(2,071 Views)