Memory leak checker

Does anyone know if it exists programs for QNX6 to help tracking down memory
leaks and similar memory related faults (for C++).
For Visual Studio for example there exists a program from Numega called
BoundsChecker. Something similar to that would be nice!! :slight_smile:

regards, Mats P

A friend of mine suggested

http://www.cs.colorado.edu/homes/zorn/public_html/MallocDebug.html#electricf
ence

“Mats Pettersson” <mats.pettersson@wavium.se> wrote in message
news:9stc72$p57$1@inn.qnx.com…

Does anyone know if it exists programs for QNX6 to help tracking down
memory
leaks and similar memory related faults (for C++).
For Visual Studio for example there exists a program from Numega called
BoundsChecker. Something similar to that would be nice!! > :slight_smile:

regards, Mats P

Mats Pettersson a Ă©crit :

Does anyone know if it exists programs for QNX6 to help tracking down memory
leaks and similar memory related faults (for C++).
For Visual Studio for example there exists a program from Numega called
BoundsChecker. Something similar to that would be nice!! > :slight_smile:

regards, Mats P

It’s a very thorny problem. Most of the tools you will find use the MMU (not
really use by most of the OS today) to help you track memory fault. But neutrino
do that very well. You haven’t to take care of potential problems between
applications under neutrino (says you will be advised quickly!!). BUT, you can
have problems within your process without being advised for a while but one day,
you will encounter some problems. Here, it’s really more difficult to track
because you could have a fault occured by a problem possibly happened a long
time ago. In fact, it’s maybe more difficult to find such problem in a memory
protected environment, even if it’s more safe, because as it couldn’t cause
problem to other applications, you can avoid it.

Look at the following article:

Heap Analysis - Making Memory Errors a Thing of the Past
http://qdn.qnx.com/support/docs/neutrino/prog/hat.html

regards,
Alain.