IanH Posted December 19, 2008 Report Share Posted December 19, 2008 Anyone else notice a memory leak in 8.6 when reading a registry item? I use the registry to store calibration values which are then read everytime that sensor is polled (every 100 ms). The memory leak WASN'T there in 8.21 but now in 8.6 it definatly is. Since I call those registry values very often it very quickly sucks up WAAAYY too much memory and crashes LV. I am calling the registry entries in the following manner. Open Key Read Value Close Key P.S. This is my first post. Hello to everyone! -Ian Quote Link to comment
LAVA 1.0 Content Posted December 19, 2008 Report Share Posted December 19, 2008 Could you add a piece of code? If you want to add a screen shot I recommend the Code Capture Tool. Ton PS Welcome Quote Link to comment
IanH Posted December 19, 2008 Author Report Share Posted December 19, 2008 Sorry for the un-cleanness of the code.The calibrations are logged into HKLM\Software\SPC Rig\Calibrations under string names AmpMax and AmpMin. They vary the 4-20 mA scaling to "calibrate".HKLM\Software\SPC Rig\Calibrations is opened. The refnum is passed to Read Value to read AmpMax, its refnum is then passed to AmpMin, then the refnum is passed to Close Key. The missing Vi (?) is a linear scaling vi that it won't load because I saved it in 8.6. Quote Link to comment
IanH Posted December 19, 2008 Author Report Share Posted December 19, 2008 Is there a bug submit tool/site for 8.6? Thanks Quote Link to comment
LAVA 1.0 Content Posted December 19, 2008 Report Share Posted December 19, 2008 Yes, there is. A summary and guideline is given in LabVIEW Bug Reporting on the LabVIEW wiki. Ton Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.