LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

memory leak or not with split array

When using a "split array" and part of the array is not used could this cause memory leaks in Labview? I'm using 7.1.1
 
Rich J
0 Kudos
Message 1 of 2
(2,307 Views)
Hi Rich,
 
Generally speaking labview is pretty good with memory management.   Do you ask this because you think you have a memory leak?  
 
Splitting an array and not using part of it in and of itsself will not cause a memory leak, however, if this is in a loop where the arrays grow in size and are split you may run out of memory.   If you are managing a large data set in your vi you may want to read these
 
 
 
There is also a VI called "Array subset.vi",  from what you said this may be better to use than "Split Array.vi" and not using part of it.
 
Give more information about your probelm if this doesn't help.
 
Brian
0 Kudos
Message 2 of 2
(2,293 Views)