LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

memory is full on built application

I'm building my application for distribution. It works fine running LabVIEW 7.0 on a Windows XP with 384MB of memory. However, when I build the application and try to load the program, I get a "memory is full" error, even on a computer that has 1GB of memory. Any ideas?
0 Kudos
Message 1 of 5
(2,923 Views)
Too general to really tell.

There's probably something in the application that gets an invalid input when it is built, causing the thing to crash...Do you read a file, open a dll, port etc, create an array...Look for things that if given the wrong input might run amok...

Try to put different parts of the application in case structures that you can control from e.g. an ini file or exclude them from the application and see if you can locate what part of the code that cause the problem.

If possible upload the code here (or pictures of the most central parts) and we can have a look.
0 Kudos
Message 2 of 5
(2,920 Views)
I had a similar problem when running LV7 on Win-XP Pro.

At the time, I was having and another problem. When solving the other problem which was related to the Labview Active-X server, the memory problem disappeared.

I also had 512 MB of memory and upgraded it to 1 GB. It had not solved the problem.

Some of the steps I recall were:

1. Re-install Win-XP & LabView. The reason was that a registry file may have been corrupted at one point.
2. Change the DCOM Config settings to allow full permissions over LV & TestStand files (to resolve the Active-X server problem).

I can't remember what else I did. Fortunately, the memory problem disappeared. I never figured out why I had it in the first place. I also cannot remember changing the vi's...

Go
od luck,

-JLV-
0 Kudos
Message 3 of 5
(2,920 Views)
There was a missing ini file that was causing the problem. Thanks for the suggestion!
0 Kudos
Message 4 of 5
(2,920 Views)

Hi,

although, a long time past I send this.

I've got the same Error with my application. I've build it on the developping system and put it on the machine. I did this a several times and everthing was fine. The last build crashed. Only minor things were changed (colors, text ...).

The application ran fine on a windows 2000 System and crashed on the XP Systems. When I build the executable on the machine (aim system) the Software worked fine again.

Now that I read your Infos I figured out that we build the current machine PCs with an mother image. So probbaly we copied the registry damage - I don't know which ??! 

I'm not really shure if there is a problem with one of the external dll for the used hardware. So finally the error source was not localized. If someone konows more - I would be happy to get the infos.

LabVIEW 7.1.1, WinXP S2

 

0 Kudos
Message 5 of 5
(2,664 Views)