LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compile error: out of memory exception caught in llvm gencode

 

Tanya's suggestion of "Extending 32 bit memory"

worked for me compiling a big project with LV2010 32bit on Win 7 32 bit

 

thanks

michael

0 Kudos
Message 21 of 28
(1,971 Views)

Congratulations, Michael, that compiling even big projects succeeds.

 

In my case it's still a pitty: a relatively small(!) project consumes a huge amount of memory. Which for shure issn't necessary since it compiles well with older LabView version.

I'd love to hear something from NI about how to track *what* usese this much memory, after that we could then continue discussion....

 

Have a good time!

 

0 Kudos
Message 22 of 28
(1,901 Views)

Hi loetknecht and everyone,

 

I just wanted to post a link to a KnowledgeBase article that discusses this issue. Take a look at the following article for some explanation of the issue and potential workarounds:

 

LabVIEW Compiler Memory Usage and Performance

LabVIEW Compiler Memory Usage and Performance http://digital.ni.com/public.nsf/websearch/BA4B9038D0...

 

I apologize for any inconveniences the changes to our compiler has caused and hopefully the workarounds will work for you.

 

Aaron P

National Instruments

Applications Engineer

http://www.ni.com/support

0 Kudos
Message 23 of 28
(1,866 Views)

Hello, I had the same error in XP and this fixed it but I got windows 7 and the article does not say how to do it in windows 7. Does anybody knows?

0 Kudos
Message 24 of 28
(1,756 Views)

It works now. Windows Vista solution works for Windows 7

0 Kudos
Message 25 of 28
(1,720 Views)

Dear All,

 

I have face the same problem, my code works well in previous version (2009) but in 2010 it will get compile error.

 

I have also increase my virtual memory size up to 4 GB as shown in fig. (Virtual Memory). but it not works.

 

When I am increase my virtual memroy from boot.ini file, as posted earlier, I got a problem with functionality of my operating system.

 

Is there any other solution, which help me out to run my code.

0 Kudos
Message 26 of 28
(1,580 Views)

Paarth,

 

Where you able to look at those articles on optimizing the compiler?

They are here too:

 

http://digital.ni.com/public.nsf/websearch/BA4B9038D01F3C99862577CA004BE1AD?OpenDocument

http://digital.ni.com/public.nsf/websearch/3A28C7098620AFD78625783400763C69?OpenDocument

🙂 

 

Short of chaning the compiler and making the boot 4 GB you may need to actually change the code to make it either smaller, more effiecient, or less processing intensive. 

 

I hope those links help 🙂

Sam S
Applications Engineer
National Instruments
0 Kudos
Message 27 of 28
(1,548 Views)

Sam,

 

Thanks for giving me another solution.

 

It's Work. Smiley Happy

 

I've replace LabVIEW 2010 with LabVIEW 2010 SP1

 

Thanks,

Paarth

0 Kudos
Message 28 of 28
(1,515 Views)