NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VB .NET Teststand memory leak

Hi,
 
I got a memory leak problem when I try to read an array with Teststand from a Visual Basic application.
 
My application reads a string array several times per seconds.  To read this array, I create (in TS) a local string array of 4 elements (array[0...3]).  This array is linked with the return value of my VB function.  When I run this application I got a memory leak.  I attached an example (see the "Memory Leak Occured").  Can you help me on that issue?
 
I found another way to do the same thing and no memory leak occured but it's painful to program.  See the "No Memory Leak" in the attached example.
 
I use Teststand 3.5.0.725.
 
Thanks,
 
Simon
Message 1 of 4
(3,183 Views)
Here is the attached file.
Message 2 of 4
(3,181 Views)

Could someone try this application just to know if you'll get the same problem?

Thanks

Simon

0 Kudos
Message 3 of 4
(3,144 Views)
Hi tm4,

I believe you sent an email as well. I just replied to your latest email as we did replicate the memory leak here. We are looking into this issue.

Thanks

Best Regards,
Jonathan N.
National Instruments
Message 4 of 4
(3,132 Views)