LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Not enough memory to complete this operation"

I am having an issue with a new installation of Labview 7 Express. I keep getting the error message "Not enough memory to complete this operation", with no text in the title bar. When I check my available memory, the system lists around 260 Megabytes free. It has not prevented me from doing anything yet, but it is an annoyance.

How can I resolve this issue?

Computer Specs:
Pentium 4 2.4GHz
512MB RAM
Windows 2000 SP4
--

Brian Rose
0 Kudos
Message 1 of 14
(9,574 Views)

When are you getting this message, when installing LabVIEW or trying to run it? Look to see how much virtual memory is also set aside by windows, sometimes this can pose a problem.

 

P.M.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 14
(9,559 Views)
Installation was without errors. This happens whenever I start the program. My virtual memory was set to have a maximum page file of 768MB, and I have changed that to 1024MB. The problem still persists.


--

Brian Rose
0 Kudos
Message 3 of 14
(9,555 Views)

What are your trying to do in LabVIEW when you get this message? Are there any other memory hungry apps running at the same time (even in the background, like a "anti-spyware" program that I saw consuming a lot of memory when it ran)? If it is LabVIEW code can you post it here to look at? There are things that can really eat memory (building arrays the wrong way, multiple copies being created of an array, etc.)

If yo are posting your code and it uses a lot of non-standard vi's (custom, etc.) do a Save with options, development distribution, and then zip the resultant .llb file.

P.M.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 4 of 14
(9,550 Views)
This happens on startup and when browsing templates. I have not had any problems when editing VIs, but I am just going through tutorials and not really doing anything fancy yet.

This is on the company machine, so I have their antivirus and groupware apps running in the taskbar, and then a Firefox browser open to look for help <grin>. That's it. Task Manager reports that I have around 270MB of free physical memory.

--

Brian


--

Brian Rose
0 Kudos
Message 5 of 14
(9,544 Views)
512MB RAM is very little in today's world, however it should be enough for just running LabVIEW if you're not doing any memory intensive acquisition or processing.
 
I wanted to post with the same exact problem however I have 2 GB of RAM and this problem occurs when I simply let about 4 or 5 VIs open with their block diagram sit overnight when I leave work. Almost every morning when I'm back, I get the "Not enough memory to complete this operation" warning and am forced to terminate LV with it taking up about 1.5GB of RAM doing absolutely NOTHING as I have no VIs running at that point. Seems like a major memory leak to me.
 
PS
Should've mentioned that I'm using LV 8.5 and have been using LV since version 5. LV 7.1 nor 8.2.1 did not have this problem. This started happening with 8.5 as well as a number of other things.


Message Edited by romulus on 11-07-2007 08:20 AM
0 Kudos
Message 6 of 14
(8,939 Views)
Try to move the following file to another location and run LabVIEW:
 
C:\Program Files\LabVIEW 8.5\LabVIEW.ini
------- LabVIEW 2009, So Easy, Even a Therapist Can Do It -------
0 Kudos
Message 7 of 14
(8,932 Views)
Hmm like any location? Can I just delete it?
0 Kudos
Message 8 of 14
(8,928 Views)

HI Romulus,

Are you saying that just leaving VI's open but not running brings out the message?

Aside from the "Auto-save" I can't think of anything that would be happening that could bring out that message for an idle VI.

I can't say I've tried it in LV 8.5 but I often leave VI's open over night on my machine at home and have never seen that (I do not use use Auto-save. Call me acontrol freek that wants a say in when I save Smiley Wink )

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 14
(8,921 Views)
Ok I'll try turning auto-save off since it's a new feature....but yes, happens just from VIs sitting there.
0 Kudos
Message 10 of 14
(8,917 Views)