LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Leak on Class Probe

Hi all,

 

I have a big memory leak in LV2020 SP1 when I probe a class wire inside a while loop.

The Task Manager shows a memory usage rapidly increasing from 200MB to 2.6GB, until LabVIEW crashes because of insufficient memory.

 

It is really easy to reproduce:

raphschru_0-1659533128349.png

 

 

0 Kudos
Message 1 of 3
(957 Views)

Did some investigating and found why I hadn't seen this before. It appears to only occur if you are using a default object constant or an unsaved class. My class constants usually are saved classes, and if I probe the wire I do not get this phenomenon. 

0 Kudos
Message 2 of 3
(943 Views)

I just retested, for me the leak is present even on saved non-default custom classes.

 

You can test it with my attached example.

0 Kudos
Message 3 of 3
(937 Views)