By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,227 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,227 IT Pros & Developers. It's quick & easy.

Tools to find out Memory leaks in C++

P: 3
Hi Friends,

Can anybody help me in finding out memory leaks in C++. I am specifically looking for a tool which can find the memory leaks in C++ in an efficient manner.

Thanks in advance.

Regards,
Jatayuv
Jun 7 '07 #1
Share this Question
Share on Google+
6 Replies


gpraghuram
Expert 100+
P: 1,275
HI,
Try Rational Purify.
According to me hat is one of the best tools available.
You can try a evaluation version if u need one urgently

Raghuram
Jun 7 '07 #2

P: 3
Hi ,

It seems Rational Purify will do static analysis, is there any tool which can do the job during run time?

Regards,
Jatayuv



HI,
Try Rational Purify.
According to me hat is one of the best tools available.
You can try a evaluation version if u need one urgently

Raghuram
Jun 7 '07 #3

gpraghuram
Expert 100+
P: 1,275
HI,
Purify does analysis during run itime and to my knowledge it dosent do static analysis.

Raghu
Jun 7 '07 #4

DeMan
100+
P: 1,806
not sure of their site but there is a tool called leaktracer (google would be a good plan here ) which does a fairly good job.
Off the top of my head, I couldn't explain exactly how to use it, but i think you basically include a library they provide and then select when to stop and start (it writes the results to a file, I think, but you can print the contents of the file before you terminate, if need be)
Jun 7 '07 #5

P: 4
Sga
Try with valgrind.
Available only in Linux, but it's a fantastic tool (free, and spots a lot of errors).
Jun 7 '07 #6

weaknessforcats
Expert Mod 5K+
P: 9,197
Try BoundsChecker. It works at run time.
Jun 7 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.