View Single Post
  #3   Spotlight this post!  
Unread 26-02-2011, 21:36
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous Independent Can Only Get Called a few Times

Cloning a VI duplicates the dataspace and a small VI header, but not the code. The dataspace is normally reclaimed when the refnum is closed. I suppose that RT could be different, but if that were the case, that wouldn't work very well for round-the-clock industrial use.

If you believe there is a leak, you should be able to see it using the RT System Manager. I'd probably flip to the VIs tab and turn off the checkbox, then flip back to memory and CPU and start it. You can watch memory usage over time and see if it climbs and climbs each time you rerun autonomous.

Greg McKaskle
Reply With Quote