LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"There was not enough memory to compile this VI" (or LV 8.2 app builder is annoying me)

Hi,

I do have a very nasty problem using the application builder in LV 8.2 currently. It is a very big application using DSC functionality and everything runs as supposed to be in the development system. Compilation does work as well, but

It won't run!

Yes, the DSC Run-Time System is installed. I get the following error message on a few VIs:

There was not enough memory to compile this VI.

Actually I don't know what to look for. All dynamically loaded VI's are included in the build specs, but this shouldn't matter anyway, as none are loaded on startup directly.

BTW I did have another problem with the application builder. I'm doing some stuff in the registry. To get the application started without looking for it, I had to include "Registry RtKey.ctl" as dynamic VI. Shouldn't this be included automatically?

I'd really appreciate any help as I need this application! We just switched from 7.1 to 8.2 and it was quite a bit of work to adapt all the DSC related code. It would be a shame to switch back (and we don't have 8.0 installed anyway).

So long,
Carsten
0 Kudos
Message 1 of 11
(5,725 Views)
One observation: the application works as supposed to if I activate debugging for the exe! This is at least a short-term solution, but not a long-term one...

So what's so different?

Cheers,
Carsten
0 Kudos
Message 2 of 11
(5,706 Views)

Hey Carsten,

You said compilation works, so when does this error message showing up? Another question, how much virtual memory is available on your system?

 

BR, Christian

0 Kudos
Message 3 of 11
(5,655 Views)
Hi Christian,

it shows up on running the exe in the run time system (LV DSC 8.2)!

The machine has 1 GB of RAM and a maximum virtual memory of 3 GB. I don't think those ar limiting values...

I found one problem with my NI installation after this though, but still only the "debugging enabled" version works. As this station is running a long-term test now, I have to setup a new test station for playing though.

Thanks,
Carsten
0 Kudos
Message 4 of 11
(5,652 Views)
Hello Carsten,

it could be a lV 8.20 upgrade problem (see link below).

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

Did you get an error code?

Problem:  Compiling a VI that contains a bundle function, which bundles a cluster and one of that cluster's elements in the same bundle function crashes LabVIEW or results in error "There was not enough memory to compile this VI" or ufpstart errors (ufpstart err, avail=0x16164; ufpstart err, avail=0x1716C).
Workaround(s):  Build the cluster with two separate bundle functions, separating the two inputs mentioned above.  
ID: 423GHDQ4

Kind regards,

Elmar
Message 5 of 11
(5,610 Views)
Hi,

thanks for this hint. This could be the problem as I use clusters very often (inlcuding sub clusters). But unfortunately I don't think I have the time to change all the occurances of this in this big project... 😞

Ist there an update planned? This is a major bug definitely...

Cheers,
Carsten
0 Kudos
Message 6 of 11
(5,603 Views)
Hey Carsten,

the new LV 8.21 is already released.

Kind regards,

Elmar
0 Kudos
Message 7 of 11
(5,600 Views)
Hey that's nice to hear! 😄

Can I download this or do I have to wait for the CDs? I didn't find it (yet) on the NI site...

Cheers,
Carsten
0 Kudos
Message 8 of 11
(5,591 Views)
Hey Carsten,

please use the link below for more information.

http://www-test.ni.com/support/lv8_21.htm

Kind regards,

Elmar
0 Kudos
Message 9 of 11
(5,557 Views)
Thanks Elmar, but the link doesn't work for me. 😞

I suppose I'll have to wait for the official release though... 😉

Cheers,
Carsten
0 Kudos
Message 10 of 11
(5,531 Views)