LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why memory usage comes bigger when using functional global variables?

I am using a functional global variable to share data between different parts of my program, my program only reads and writes on the FGV which is able to keep 4 values. Why the usage memory comes bigger with time?
0 Kudos
Message 1 of 2
(2,790 Views)
Are you sure the functional global uses the extra memory? Have you done any profiling?

Are thes "4 values" simple scalars, strings, or arrays. Maybe the functional global is poorly written and constantly reallocates memory. In LaVIEW 7.1 you could show the buffer allocations to troubleshoot. Could you attach your FGV?
0 Kudos
Message 2 of 2
(2,790 Views)