Re: Is there any tool like purify(memory leak check tool) for LINUX

2002-05-14 Thread Damir Dezeljin
njamd, dmalloc, electric fence, memprof, memwatch, ...

Try first njamd.

Regards,
Dezo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is there any tool like purify(memory leak check tool) for LINUX

2002-05-13 Thread dman
On Mon, May 13, 2002 at 11:36:31PM +0530, Deepak Kotian wrote:
| Hi,
| 
| Is there any tool like purify(memory leak tool) for LINUX. Or any
| free software which can be used to check memory leaks on a C/c++
| program.

memprof is one such tool.  I've used it a little bit.  I've also heard
of Electric Fence and some others, but haven't done serious enough
C/C++ programming to actually try them.

-D

-- 

The remote desktop feature of Windows XP is really nice (and *novel*!).
As a Microsoft consultant can *remotely* disable the personal firewall
and control the system.  We'll ignore the fact that this tampering with
the firewall is not logged, and more importantly, that the firewall
isn't restored when the clowns from Redmond are done with their job.
-- bugtraq
 
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg



pgpWiM2Dq3MOU.pgp
Description: PGP signature


Re: Is there any tool like purify(memory leak check tool) for LINUX

2002-05-13 Thread Colin Watson
On Mon, May 13, 2002 at 11:36:31PM +0530, Deepak Kotian wrote:
 Is there any tool like purify(memory leak tool) for LINUX. Or any free
 software which can be used to check memory leaks on a C/c++ program.

Try valgrind (http://devel-home.kde.org/~sewardj/, or packaged in
unstable).

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is there any tool like purify(memory leak check tool) for LINUX

2002-05-13 Thread J.H.M. Dassen \(Ray\)
On Mon, May 13, 2002 at 13:12:48 -0500, dman wrote:
 On Mon, May 13, 2002 at 11:36:31PM +0530, Deepak Kotian wrote:
 | Is there any tool like purify(memory leak tool) for LINUX.

 memprof is one such tool.  I've used it a little bit.  I've also heard of
 Electric Fence

Electric Fence is used to find problems like double free()s and writing
past/before the boundaries of allocated memory; it is not intended to track
memory leaks.

 and some others, but haven't done serious enough C/C++ programming to
 actually try them.

http://www.cs.colorado.edu/homes/zorn/public_html/MallocDebug.html has a
fairly long list. Hmm... I just noticed it doesn't list Valgrind
(http://developer.kde.org/~sewardj/) yet, which is packaged for unstable and
looks fairly impressive.

HTH,
Ray
-- 
RUMOUR  Believe all you hear. Your world may not be a better one than the one
the blocks live in but it'll be a sight more vivid.
- The Hipcrime Vocab by Chad C. Mulligan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is there any tool like purify(memory leak check tool) for LINUX

2002-05-13 Thread Rafael Sasaki
On Mon, May 13, 2002 at 11:36:31PM +0530, Deepak Kotian wrote:
 Is there any tool like purify(memory leak tool) for LINUX. Or any free 
 software which
 
 can be used to check memory leaks on a C/c++ program.
 
 If anyone has any idea. Please let me know.

I use LeakTracer. It just looks for memory leaks on C++ (not C)
programs. I think there is no deb package for it, but it`s quite
easy to install. When I was looking for a memory leak checker it
was the only one I found to use with C++, and it works well
enough to me.
You can find it at
http://www.andreasen.org/LeakTracer/

HTH,
  Rafael Sasaki


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]