From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

memory leak teststand

If you are running this in the a UI or the sequence editor I think I know what the problem might be, the UI or sequence editor will hold onto each execution your create, unless you make them hidden with tracing initially off or set them to close when completed.

 

1) to make the executions hidden with tracing initially off pass the following two constants bitwise OR'd together for the execution type mask parameter ExecTypeMask_TracingInitiallyOffExecTypeMask_InitiallyHidden

 

2) to make it close when done use the ExecTypeMask_CloseWindowWhenDone constant.

 

Hope this helps,

-Doug

 

0 Kudos
Message 11 of 12
(951 Views)

Hi Doug,

 

I have tried this, it's a bit better. But still not perfect. I have found a thread with a similar issue on LabVIEW, and from several resources I have created a single VI, which cleans up the "WorkingSet" of a process. This works fine.

 

 

0 Kudos
Message 12 of 12
(929 Views)