02-23-2006 09:19 PM
I am using LabVIEW 7.0 and the database toolkit. I build a program to perform data acquisition and save the collected data into a Microsoft Access database (with Microsoft Jet 4.0 OLE DB Provider). The main VI is used to perform data acquisition and the collected data is passed into a subVI for saving. After I run the program for a few days, I receive a warning that my system memory is in a low level and the program is stopped. I find a problem that the data saving subVI will occupy more and more memory and will not release it until I close the main program. There ia an article (under ni.com named “Why Does My LabVIEW Application Leak Memory when Logging to an Access Database?”) stated that this problem is a behavior of Access and not a problem in the database toolkit. I follow the instructions to set the “MaxBufferSize” to a small value but the problem still occurs.
Does anyone know how to solve this problem? The attached picture shows the content of my data saving subVI. Am I made a wrong programming? Thanks
ni article : http://digital.ni.com/public.nsf/websearch/862567530005F09E862568020079A9B7?OpenDocument
microsoft article: http://support.microsoft.com/kb/154384/en-us
02-24-2006 04:40 AM