LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory issues

Hello,


I was wondering how can I debug if I got a "Memory is full" message? Because I am not getting that message every time. It seems like happened randomly.

 

I usually use "Abort" when I get what I want to see instead let it run until done, is that a problem for getting "Memory is full"? 

 

Please guide me where should I start with

 

Thanks

Download All
0 Kudos
Message 1 of 3
(2,416 Views)

You have tons of complicated data structures with arrays inside clusters. You are growing the inner arrays, forcing new memory allocations. Arrays need to be contiguous in memory, so at one point you will run out of a sufficiently sized free memory chunk.

 

(Sorry, I cannot deal with tons of sequence locals and deeply stacked sequences. Maybe somebody else wants to look at the code...)

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

Thank you for you information

 

If you have a little bit time, could you take a look for the last major block called the "Sweep", basically it made up by three case, is the case 1 and case 3 independently, our the case 3 base on the case 1?

 

I was widening since the case 1, I am carrying 200 times data may effect my memory. Problem

 

Thanks

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