LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Source works fine, EXE gives no memory error

I have finished my program and am now trying to build the exe taht will run on the cliends workstation. The source has been well tested and does not throw any errors when running.

Building the exe works fine but when running the exe I get an out of memory error message (below). Watching the memory usage in task manager there is no significant increase. I have built and tested all of the sub vi's on their own and they work fine. The largest dataset in the program is an n=720 array of doubles.

 

Is there some build config setting im missing to make this work right or something?

 

Capture.JPG

0 Kudos
Message 1 of 4
(2,311 Views)

Do you run the EXE on the same machine as the development?

If so, did you close LV (Development Environment) before running the EXE?

 

Did you build the EXE as debuggable? If so, can you hook up to it using Desktop Execution Trace Toolkit?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,288 Views)

THe exe was run on the same as the devolopment machine. I get the same weather dev is open, closed or run off a fresh boot.

 

I did not build as debuggable but I will try that today.

 

 

0 Kudos
Message 3 of 4
(2,275 Views)

Have you had any success building your executable as debuggable?

 

Does your client's target machine have limited available memory? Have you tested the executable on a third workstation?

Cameron
0 Kudos
Message 4 of 4
(2,249 Views)