NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface operator : Memory not released

Just saw this in CVI 9.1.0 and TestStand 4.2 with the TestStand Full-Featured Operater Interface.

 

Using the Resource Tracking panel in CVI you can see strings being allocated after the call to TS_LoadMenuBarResourceStrings.  Looking at the contents of the memory in ASCII, these are the titles of the menus in the main application window.  These strings appear to never be freed after the application exits.  The call to TS_LoadPanelResourceStrings does not exhibit this same behavior.

 

I was able to work around the problem by removing the call to TS_LoadMenuBarResourceStrings and updating the .UIR file replacing FILE with __File, EDIT with __Edit, etc. This of course breaks localization.

 

Hope that helps.

0 Kudos
Message 11 of 12
(1,124 Views)

Hey pdobratz,

Thanks for reporting this issue. I reproduced the memory leak that you were seeing here on my end in TestStand 4.2 and I've attached a simple screenshot of what you were seeing.

 

Before filing a CAR on this, I then opened up the TestStand 4.2.1 CVI Full Operator Interface and performed the same test and found that we have fixed this memory leak with this most recent release. Thanks for providing your workaround and if you have a current SSP support contract with us, then feel free to upgrade to TestStand 4.2.1 and this issue should go away.

 

Lars L

Applications Engineer

 

 

0 Kudos
Message 12 of 12
(1,019 Views)