LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW exe file uses a lot of RAM memory


@Jively wrote:

Thank you for your interest and help.

My English is bad, so I express it with an image.

We control with exe, and asynchronous calls are not currently considered, so memory needs to be reduced.

Jively_0-1610963556670.png


Then you better make sure your PC has enough memory.

 

The 45 MB might be  a 'comfortable' allocation LV asks for and gets from the OS. If you, when memory gets low, it might shrink a bit. I wouldn't bet on it though.

 

I wouldn't consider starting 100 executables. But I don't know all the details.

0 Kudos
Message 11 of 18
(1,162 Views)

You are asking a user to keep track of 100+ executables?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 12 of 18
(1,137 Views)

I was assuming some command line magic...

Message 13 of 18
(1,134 Views)

wiebe@CARYA wrote:

I was assuming some command line magic...


Just call me an idiot and get this over with... 😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 14 of 18
(1,117 Views)

The problem seems to be solved.

 

When I set up on a formatted PC and checked "Blank.exe", it occupied about 8MB.

 

I don't know why, but I think it has something to do with RTE or LabVIEW programs.

 

I decided that there was no problem with the distribution, so I would like to check it in the field.

 

Thanks for all the help.

0 Kudos
Message 15 of 18
(1,090 Views)

I tried a no-op app, but still requires 57 MB in Task Manager.

 

Do your apps feature a user interface?

I'm thinking about something like that:

Bob: what's the state of instrument #85?

Alice: wait a moment (Alt + tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab, tab....)

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 16 of 18
(1,083 Views)

@Jively wrote:

The problem seems to be solved.

 

When I set up on a formatted PC and checked "Blank.exe", it occupied about 8MB.

 

I don't know why, but I think it has something to do with RTE or LabVIEW programs.

 

I decided that there was no problem with the distribution, so I would like to check it in the field.

 

Thanks for all the help.


Task manager can't really be trusted anymore.

 

I've seen my programs, taking 400 MB when idle, jump to 20 MB if memory goes up. Windows might manage memory depending on available memory as well. So if you have plenty, the application might get more memory. It's not as easy as it was in Windows 3.11 anymore.

 

I think I'd try performance counters, although I'd think Task Manager uses that as well. This could be automated as well, so you'd be able to automatically monitor the memory behavior of all 100 executables.

0 Kudos
Message 17 of 18
(1,078 Views)

As a simple test, what's the memory usage if you start 10x of this test program?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 18 of 18
(1,037 Views)