CVI Steps Leak a Handle When Calling CA_FreeMemory Primary Software: TestStandPrimary Software Version: 3.5 Primary Software Fixed Version: N/A Secondary Software: LabWindows/CVI Run-Time Engine
Problem: I am calling a CVI DLL from TestStand that uses the CA_FreeMemory function. I have my step's Unload Option set to "Unload after step executes". When I call this step in a loop, I notice that I leak handles. How can I avoid this leak? Solution: There is a bug in CVI that causes the first call to CA_FreeMemory to leak a handle. The effects of this bug can be minimized if you change your step's Unload Options to "Unload when sequence file executes". Since the leak will only occur once for each time the DLL is loaded, minimizing the number of times the DLL is unloaded will reduce the effects of this. This problem can also be resolved by upgrading to the CVI 8.1.1 Run-Time Engine. Related Links: Attachments:
Report Date: 04/02/2007 Last Updated: 04/30/2007 Document ID: 481GBHV3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
