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?
.NET dll memory leak ??
Moderator: serg
Re: .NET dll memory leak ??
Here is the VI used to test the memory leak.
- Attachments
-
- open_close_sub20.zip
- (15.21 KiB) Downloaded 1535 times
Re: .NET dll memory leak ??
Hi Brad,
I will try to reproduce the issue in our lab. I will let you know ASAP
I will try to reproduce the issue in our lab. I will let you know ASAP
Re: .NET dll memory leak ??
Hi Brad,
I cannot reproduce memory leak with LabView v8.5. This may be related to the LV7.1 memory management.
Regards
I cannot reproduce memory leak with LabView v8.5. This may be related to the LV7.1 memory management.
Regards
Re: .NET dll memory leak ??
Thanks for checking. I will see if the problem reproduces with 8.2.1.
-brad
-brad