LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building an Executable - Not Enough Memory to complete this operation

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

0 Kudos
Message 1 of 3
(2,674 Views)

The problem I get with the dll is:

Error loading 'nilvaiu.dll'. A dynamic link library initialisation routine failed.

0 Kudos
Message 2 of 3
(2,644 Views)

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.

 

 

Ian S
Applications Engineer CLA
National Instruments UK&Ireland
0 Kudos
Message 3 of 3
(2,632 Views)