Add the following line to the labview.ini file on your host computer and restart LabVIEW:
targetmeminfo=true
Then, when you select Operate>RT Engine Info from the LabVIEW menu (having the FP Controller selected as the target), the memory usage of the RT Engine will be displayed. You will see the Total Memory, and the Free Memory.
If your VI stops after a while, it might be due to a memory leak. A typical memory leak generated by a FP application happens when you put the FP Create Tag in a while loop. Remember, the FP Create Tag, FP Open and FP Close have to be out of the while loop.
Also there are some documents on the NI web pages that talk about memory management.Look for them, they might help (go to www.ni.com/zone).
There is one that might be help
ful in the URL below:
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/adde63e507afe8ad86256acb005def2f
I hope this helps.
VG