LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deallocate memory

I use LV5.1 on win2000 station, the memory is running low now.
how to let LV relase memory after sub vi is completed.
On help manual, it says "set deallocated memory as soon as possible", but how and where to set this option,on labview or on the PC system? Can you tell me step by step?
thanks
Ping
0 Kudos
Message 1 of 5
(3,117 Views)
On LabView 6.1, from any LabView window, goto Tools >> Options >> Performance and Disk.

On older versions, it might have been under Edit >> Preferences.
0 Kudos
Message 2 of 5
(3,117 Views)
While setting this option can help with memory problems, it will also decrease performance quite a bit. A memory problem is almost always a result of inefficient program design. Application note 105 - "LabVIEW Performance and Memory Management" is part of the shipping documentation with LabVIEW and should be reviewed to see where the program could be modified for better memory usage.
0 Kudos
Message 3 of 5
(3,117 Views)
Does the "deallocate memory setting" affect all vis, overall Labview performance or only on the specified vi? Does the setting affect othre applications?
Thanks for you help
Ping
0 Kudos
Message 4 of 5
(3,117 Views)
It affects all LabVIEW VIs. The only effect on other applications would be allowing one to load and run if your application has used all available memory.
0 Kudos
Message 5 of 5
(3,117 Views)