Jump to content

Retrieving SubVI Memory Usage at Runtime


Recommended Posts

Is there a VI property/method or way to return the currnt memory usuage of a VI that is running? How does the profiler accomplish this?

The reason I need to do this is that I want to monitor the memory usuage of template vi instances that I run. If I start the profiler before I run the application to track memory usage, the instances of the VIs are shown when they are opened, but they always show 0k for their use.

I was also contemplating creating a graphical memory profiler....has this been done before in LV?

B

Link to comment

QUOTE(bbean @ Aug 23 2007, 04:45 PM)

Is there a VI property/method or way to return the currnt memory usuage of a VI that is running? How does the profiler accomplish this?

B

There is a VI property: metrics that has

* size of BD

* size of FP

* code size.

I am not sure if it will work on a running VI.

Neville.

Link to comment

QUOTE(Neville D @ Aug 23 2007, 08:08 PM)

There is a VI property: metrics that has

* size of BD

* size of FP

* code size.

I am not sure if it will work on a running VI.

Neville.

BD and FP size are available during runtime but Data Size is not. BD and FP don't seem to change while the VI is running

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.