LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unflattern from XML memory leak

visaResourceLeak.PNG

 

Bug occurs only with VISA resource, other structures look fine.

 

Seen in LV2011 and LV2012, on PC and RT targets.

 

Where can i send this bug report? Sorry, newbie for this.

 

PS: after unloading programm/VI, it didn't reallocate leaked memory. Only restarting/(rebooting RT target) helps.

0 Kudos
Message 1 of 3
(2,287 Views)

What is the error message you are getting? I have run the same code but I don't see any error other than the memory started building slowly. Also the way you have used the while loop is not advisable, you can see "Why"

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,241 Views)

P@Anand wrote:

I have run the same code but I don't see any error other than the memory started building slowly.


That's pretty much the definition of a memory leak, which is exactly what the poster reported.

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