Finding Unclosed References in LabVIEW Code

Updated Aug 23, 2019

Reported In


  • LabVIEW
  • LabVIEW Real-Time Execution Trace Toolkit
  • LabVIEW Desktop Execution Trace Toolkit

Issue Details

I want to find all the places in my code where I forgot to close a reference, in order to prevent memory leaks. How can I do this?


Depending on your execution target, you can accomplish this by using either the NI LabVIEW Desktop Execution Trace Toolkit or the NI Real-Time Execution Trace Toolkit to track memory allocations in the VIs and subVIs of your project while they are running.