LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is CA_AllocMemory() Tracked in Resource Tracking?

Solved!
Go to solution

I have been using the Resource Tracking option to track down memory leaks. But I recently noticed couple of  memory allocations using CA_AllocMemory() that were never freed. It didn't show up in Resource Tracking though. So I was wondering if it tracks only memory allocation using malloc/calloc or do I need to enable some option. I had the Options->Build Options->Debugging Level set to 'Extended'.

0 Kudos
Message 1 of 3
(4,216 Views)
Solution
Accepted by topic author unnikrishnan

Hello unnikrishnan!

 

The bahaviour you are seing is expected, as the Resource Tracking window doesn't track individual memory allocations of CA_AllocMemory(). You can check the CVI help topic for Resource Tracking to read about the ActiveX objects that are tracked.

 

This link might help:

http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/usermanual/resourcetrackingresources/

Message 2 of 3
(4,183 Views)

Thank you...

0 Kudos
Message 3 of 3
(4,157 Views)