LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find memory leaks in Labwindows applications

In VC++, i can use Rational Rose Purifier to get all the unknown memory leakages which will happen while running the application. Its not necessary that the memory leaks could happen at regular intervals. Is there any option in Labwindows to find out all the memory leakges that can happen. For example if i have allocated a memory for some varoable and not freed, is there any option in Labwindows to view that.
0 Kudos
Message 1 of 3
(3,358 Views)
Hi,

CVI has the function CVIDynamicMemoryInfo(,,,) to give you information on the memory dynamically allocated. A common practice is to add a call to this function at the end of the functions with possible leaks. It is not as advanced as the Purifier, but certainly helps detect unfreed memoty.

I hope this helps.

Juan Carlos
N.I.
0 Kudos
Message 2 of 3
(3,358 Views)
Hi,

CVI has the function CVIDynamicMemoryInfo(,,,) to give you information on the memory dynamically allocated. A common practice is to add a call to this function at the end of the functions with possible leaks. It is not as advanced as the Purifier, but certainly helps detect unfreed memoty.

I hope this helps.

Juan Carlos
N.I.
0 Kudos
Message 3 of 3
(3,358 Views)