I need to detect memory leaks.

Discussion about everything. New games, 3d math, development tips...
Post Reply
Magnet
Posts: 101
Joined: Wed Sep 27, 2006 7:32 pm

I need to detect memory leaks.

Post by Magnet »

How to detect memory leaks.
Earlier I am used Compuware BoundsChecker for detect memory leaks, but now it not working, or I am using it incorrect.

What soft you use for detect memory leaks?
CuteAlien
Admin
Posts: 9694
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

On linux i use valgrind.
Warchief
Posts: 204
Joined: Tue Nov 22, 2005 10:58 am

Post by Warchief »

With Vistual Studio, i think Visual Leak Detector is enough.

http://www.codeproject.com/tools/visualleakdetector.asp
AaronA
Posts: 55
Joined: Tue Sep 12, 2006 1:31 am

Post by AaronA »

Windows: CTRL+ALT+DEL
Just watch your process and see if it keeps '++'ing.
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

On Win32 there are CRT heap checking functions. Have a look at the documentation for _CrtSetDbgFlag. That and some of the other debug heap methods are a quick and dirty way to isolate some memory leaks.

Travis
Warchief
Posts: 204
Joined: Tue Nov 22, 2005 10:58 am

Post by Warchief »

vitek wrote:On Win32 there are CRT heap checking functions. Have a look at the documentation for _CrtSetDbgFlag. That and some of the other debug heap methods are a quick and dirty way to isolate some memory leaks.

Travis
VLD uses CRT enhancing features (call stack dump rulz)
Warchief's Warboard 3D Now hotseat release
HLFat
Posts: 71
Joined: Sun Sep 24, 2006 6:55 pm
Location: USA

Post by HLFat »

If you have BoundsChecker, list price $1400.00 you better get some free tutorials, at the least.
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

Warchief wrote:With Vistual Studio, i think Visual Leak Detector is enough.

http://www.codeproject.com/tools/visualleakdetector.asp
Thanks for the link.
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
Post Reply