LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory occupation

Hello,

I've made a program to send strings on a RS232 port. The VIs which are part of this program are quite small. Nevertheless, when I launch this program it occupies 20Mo of RAM. I'm using strings arrays but they are quite small and it doesn't justify this amount of occupied memory.

Can somebody tell me why it uses so much memory?

Thanks!
CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 1 of 4
(2,897 Views)

Look at File>>VI Properties and select "Memory Usage".
That way you can see that it is not your VI that allocates the memory.

I assume that you see in Task Manager that your application consumes about 20MB of memory.
It is the LabVIEW RunTime that alloctes the major part of it.
You can verify this by creating an application that runs an empty VI (= do nothing.VI).
Even this application allocates on my computer about 20MB of RAM.

Regards, Guenter

Message 2 of 4
(2,879 Views)
Thank you very much Guenter!!
I was far away to think that LabVIEW's runtime was taking so much memory!!
CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 3 of 4
(2,866 Views)
Same with me.
0 Kudos
Message 4 of 4
(2,860 Views)