05-04-2016 07:46 AM
Thanks, I will be looking in to this soon. But other projects inerrupted this one.
Honestly, I didn't even know CVI had that feature, so I'm very optomistic about it!
05-16-2016 08:27 AM
So I've started looking into the Resource Tracking tool in more earnest. Very revealing!
What do the line items under the User Interface section mean? Are the red items bad?
Here is the line in source code where the first line item is listed:
05-16-2016 10:27 AM
Hello Electro.
From the help:
"LabWindows/CVI displays newly allocated resources in red text, existing allocated resources in black text, and recently released resources in grey text."
Red is not necessary bad, you have to take care to de-allocate those resources. For menu bars for example you have to call DiscardMenuBar after you're done with it.
In case a memory leak you should see accumulating blocks under Memory category.
05-18-2016 11:19 AM
Thanks for introducing me to Resource Tracker. It's shown a bright light on my bad programming litter. I've cleaned up all my dangling mallocs and now we're running with a low footprint.
Thanks!