As large data getting, and analysis, should use your system source correctly, for save CPU using, let software take action one by one (having sequence) as you can as possible.
when you call "loop" diagram, Please do give 30 ms about delay time to it. it will save your CPU source, and the result is right at a certain extent also.even 10 ms is OK.
For save memory using. Please use local variable as least as program. you can use "synchronization" function to achieve. do save you data to harddisk as you getting as soon as . it is a handle channel too.
if you have many difficuty, you can make a setting for memory using at vi properties\memory usage. it is the other handle method. and I suggest sum up mentioning.