Jump to content

BEWARE of Memory Leak with Shared Variables


Recommended Posts

Hello all,

NI has an open ticket on a known bug in LabVIEW 8.5 with Shared Variables causing memory leaks. Specifically, String type, Network Published (I'm not sure if Single Process has the leak). The problem supposedly does not exist on 8.2, it came with 8.5.

There's talk of this on the NI forums as well, just wanted to mention it here. The advice is:

1) Don't use string type Shared Variables in 8.5

2) If you must use strings to communicate from a target to a host, convert the strings to U8 arrays (and back again).

I've lost a few days of my life due to this bug. The workarounds do appear to fix it.

-Richard

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.