Never tried using a third party code profiler, but there are some built in CVI functions which can help you detect memory leaks. There's a discussion thread on them at
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=5065000000080000003D0F0000&ECategory=LabWindows%2FCVI
Regards,
Ryan K.