12-06-2005 03:21 AM
12-06-2005 05:59 AM
hi there
i ran the vi on my system without memory leakage.
Win XPSP2
LV 7.1 PDS
can you try it on another system?
12-06-2005 06:56 AM
12-06-2005 09:13 AM
12-06-2005 09:33 AM
12-06-2005 10:34 AM
12-06-2005 10:49 AM
hi there
MAX is the "Measurement and Automation Explorer". It's installed at
..\National Instruments\MAX\NiMax.exe
execute it and you'll see an item "Software" in the tree on the left side. mark the entries and get some more information about the NI-Software on your system.
12-06-2005 11:20 AM
12-07-2005 04:12 AM
well,
is it possible to post some (condensed) code? does the dll show the memory leak even when its compiled on a system where your little test-vi shows no leakage?
12-07-2005 10:45 AM
This is not a bug.
Every time you ask LV to get a reference to something, it will allocated memory to manage that resource. The memory allocated is not released until after you exit LV.
The proper way to do something like this is to open the reference once, re-use the same reference reapeatedly (in a while loop) and then close it ater everything is done.