03-21-2013 09:20 AM - edited 03-21-2013 09:21 AM
I am trying to build an executable from my project, it is quite a large program. During the build, within the 'initializing build' phase, I get the error message 'not enough memory to complete this operation'. I have a decent PC running XP and 4GB ram. LabVIEW is using about 1.2GB of ram when the problem occurs.
This is an application that I've been working on for some time and I have experienced similiar problems before. To get round it I have added the /3GB switch to the boot.ini file. However that is no longer working, it complains of a problem loading a dll which seems to have only started happening since moving to LV2012.
Does anybody have any experience with solving this problem please? It is a bit of a showstopper for me at the moment.
Thank you,
Martin
03-22-2013 03:10 AM
The problem I get with the dll is:
Error loading 'nilvaiu.dll'. A dynamic link library initialisation routine failed.
03-22-2013 05:49 AM
Hi Martin,
Adding the 3GB switch is a solution which should still work on your system.
I'm a little confused, is the system still complaining about not having enough memory? Or is it just the dll problem?
And is the error message occuring during the build, or when trying to run the .exe?
The dll in question is associated with DAQmx.
If it is a runtime problem rather than a build problem, it may be that you haven't included the DAQmx driver on the target machine, in which case the answer lies in this document: http://www.ni.com/white-paper/5406/en
If I've misunderstood, please clarify the exact issue which is currently occuring, and we can continue to troubleshoot.