06-11-2008 07:57 AM
06-11-2008 08:45 AM - edited 06-11-2008 08:54 AM
You may have a memory leak. Reboot the computer, open your project and run your VI(s) for just a minute or so, being sure to access all parts of your system (i.e. allow all of the VI's a chance to run a few times) then shut down. If that reliably works fast, then you might suspect a leak. Your queue can cause memory issues (not really a "leak" per se) if you're not careful how you use them in a loop, and in your case, a fairly long state machine.
06-11-2008 08:53 AM
06-11-2008 08:56 AM - edited 06-11-2008 09:00 AM
06-11-2008 09:03 AM - edited 06-11-2008 09:12 AM
06-11-2008 10:49 AM
Yeah, destroying the Queue is good enough.
Of the last four systems I've dealt with, memory leaks were an issue. One was just bad programming (building arrays in loops in a 24-7 program) and the others were LabVIEW bugs and an odd deal where wiring the error input on a Notifier caused memory to build if the error cluster had data in it, such as a warning but not an outright error.
06-11-2008 10:56 AM