Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

memory commitment

I have a program that is 3.64 mb in size. When this program runs it uses about 41mb memory reported by the task manager.
This seems quite excessive to me. I am experiencing random odd problems. My variables don't total this much usage, so I'm wondering what could be going on. I would expect memory usage in the kilobytes from my program. Anyone experience this, or have any ideas?
 
Labview 6.1 using dual GPIB cards, RS485 2 port card, RS232, and Ethernet.
0 Kudos
Message 1 of 4
(3,351 Views)
Hi Rickie,

First of all, how is this being executed? Is this in the LabVIEW development environment or as a built executable? Are you looking at LabVIEW.exe as a process?

Which Operating System are you on?

One good tool to check out can be found at Tools->Advanced->Profile VIs. In there, make sure you check boxes for "Profile Memory Usage"

Kind regards,
-Sam F, DAQ Marketing Manager
0 Kudos
Message 2 of 4
(3,323 Views)

It's an executable running outside the development environment.

Windows XP

I tried the profiler before I posted and nothing shows this kind of memory commitment.

I looked at another program I have written and the memory usage from the task manager is 16 mb. This is a small program in comparison to the one we are talking about, so maybe that's just the way it is.

Not really sure how Labview programs run, but if they are interpreted maybe that is what the additional memory goes to.

0 Kudos
Message 3 of 4
(3,320 Views)
Hi

They certainly are not interpreted but compiled into native code.

But use much more memory than you expect, especially with a lot of global arrays this can make a difference.
greetings from the Netherlands
0 Kudos
Message 4 of 4
(3,312 Views)