01-18-2021 04:42 AM
@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.
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.
01-18-2021 07:44 AM
You are asking a user to keep track of 100+ executables?
01-18-2021 07:45 AM
I was assuming some command line magic...
01-18-2021 10:10 AM
wiebe@CARYA wrote:
I was assuming some command line magic...
Just call me an idiot and get this over with... 😄
01-18-2021 11:35 PM
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.
01-19-2021 02:47 AM
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....)
01-19-2021 02:59 AM
@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.
01-19-2021 07:54 AM
As a simple test, what's the memory usage if you start 10x of this test program?