LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi memory usage vs size on disk

I have a VI whose "Memory Usage" property shows Total memory usage of 157.9k, but total VI size on disk of 1353.2k.

Why would that be?

32-bit LabVIEW 2016 f2 patch

64-bit Windows 7

Brian Smith
Advanced Light Source
Lawrence Berkeley National Laboratory
0 Kudos
Message 1 of 4
(3,051 Views)

Hi Smith,

 

lots of images on the front panel?

 

For more detailed analysis you should attach your VI!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,008 Views)

As Gerd says, pictures would explain it. The Total Size is the sum of code node and objects, not total memory size.

VI size.PNG

Personally i'm more surprised that my empty test diagram has 2,7k block objects and 4,3k front panel objects, but i suspect that front panel picture results in some hidden code.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 4
(2,997 Views)

Ah, sorry, no pictures at all.  See attached VI.

I did figure it out, though.  There is a reference to an IMAQ image as an input and one as an output.

When I deleted those, the disk usage went down to 33k.

Why would they take up disk space at all?

 

 

Brian Smith
Advanced Light Source
Lawrence Berkeley National Laboratory
0 Kudos
Message 4 of 4
(2,972 Views)