.NET dll memory leak ??
Posted: Sat Mar 05, 2011 3:02 am
Hi,
I've noticed erratic labview/sub20 behavior after using my sub20 device after long periods without power cycling. I am using LabView 7.1.1f2, .NET, and the 1.0.3918.128 Sub20dnc.dll.
I used process explorer to track LabView's memory usage while performing different actions with the Sub20 device. Attached is the graph with annotations of my actions.
The memory usage jumps everytime the LabView "Run" button is pressed in a VI containing a Sub20 call (see jumps at left most arrow). However, if repeated open/close calls are made during that Run instance, the memory doesn't keep climbing (middle arrow). Power cycling (remove USB cable) the sub20 device causes a drop in memory usage, but not to original baseline.
This is a problem because my software needs to run for many days without stopping and starting the LabView VIs or power cycling the Sub20 device.
Any thoughts?
I've noticed erratic labview/sub20 behavior after using my sub20 device after long periods without power cycling. I am using LabView 7.1.1f2, .NET, and the 1.0.3918.128 Sub20dnc.dll.
I used process explorer to track LabView's memory usage while performing different actions with the Sub20 device. Attached is the graph with annotations of my actions.
The memory usage jumps everytime the LabView "Run" button is pressed in a VI containing a Sub20 call (see jumps at left most arrow). However, if repeated open/close calls are made during that Run instance, the memory doesn't keep climbing (middle arrow). Power cycling (remove USB cable) the sub20 device causes a drop in memory usage, but not to original baseline.
This is a problem because my software needs to run for many days without stopping and starting the LabView VIs or power cycling the Sub20 device.
Any thoughts?