LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deallocate Memory - What would be the best approach?

Hi folks,

we are still struggeling with our memory issue:
"Finding Memory Leak in LabVIEW"



I found now a function "deallocate memory" that is supposed to collect
garbage after a vi terminated.

Does anybody know good approaches on how and where to effectively use this
function?

Thanks again, Sebastian Dau


0 Kudos
Message 1 of 2
(2,619 Views)

Hi Sebastian,

This thread

http://forums.ni.com/ni/board/message?board.id=170&message.id=102068&requireLogin=False

contains the bulk of my comments on the subject.
 
That is a very expensive option but it is useful. Allocating and deallocating memory are very expensive time-wise.
 
I hope that gets you started.
 
Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 2
(2,594 Views)