How to Find Memory Leaks

How to Find Memory Leaks – This is a place for the community to provide tips and advice on How to Find Memory Leaks. This topic was created by marc perneel and the tips are provided by the community. The tips you add here can be your own or referred from another site. The best tips are then ranked at the top when up-voted by members of the community.

Tip 1 - How do you detect/avoid Memory leaks in your (Unmanaged) code?

Published:  | Submitted by Stefan Kramer | permalink
How do you detect/avoid Memory leaks in your (Unmanaged) code?

In unmanaged C/C++ code, what are the best practices to detect memory leaks? And coding guidelines to avoid? (As if it's that simple ;) We have used a bit of a silly way in the past: having a coun...

Tip 2 - Finding memory leaks using Performance Monitor

Published:  | Submitted by Bjorn Lamberts | permalink
Finding memory leaks using Performance Monitor

Locating a memory leak in Microsoft Windows often involves watching Performance Monitor counters and interpreting the results.

Tip 3 - Hunting Memory Leaks in Java

Published:  | Submitted by Maaike Hilbrand | permalink
Hunting Memory Leaks in Java

While Java’s garbage collector does its best, even the most experienced programmers fall prey to memory leaks. Learn why they occur—and how to fix them.

About Author

More by marc perneel

No more topics...

About This Topic

Category: Fun | 9 years, 5 month(s) ago

10.7k+ Reads
3 Tips
3 Votes
1 Likes
0 Saved