Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 8

Qt-interest Archive, March 2002
[OT] : memory leaks


Message 1 in thread

Hi,

Do you know a free product running on Linux to detect Memory Leaks in C++ 
Code ?

TIA,

Stephane
http://www.exotk.org


Message 2 in thread

>Do you know a free product running on Linux to detect Memory Leaks in C++
>Code ?


I like memprof. It has a GTK GUI and you don't have to link your 
application with anything special. Just run it through memprof:

http://people.redhat.com/otaylor/memprof/


Message 3 in thread

Any preferences for Windoze?
Marcos


-----Original Message-----
From: owner-qt-interest@trolltech.com
[mailto:owner-qt-interest@trolltech.com]On Behalf Of Marius Sundbakken
Sent: Wednesday, March 20, 2002 9:11 PM
To: qt-interest@trolltech.com
Subject: Re: [OT] : memory leaks


>Do you know a free product running on Linux to detect Memory Leaks in C++
>Code ?


I like memprof. It has a GTK GUI and you don't have to link your 
application with anything special. Just run it through memprof:

http://people.redhat.com/otaylor/memprof/

--
 [ signature omitted ] 

Message 4 in thread

On Wed, Mar 20, 2002 at 11:53:08PM -0500, Stephane Routelous wrote:
> Hi,
> 
> Do you know a free product running on Linux to detect Memory Leaks in C++ 
> Code ?

Probably the best free tool available for detecting memory leaks and
(more important) uninitialized memory reads, out-of-bounds reads/writes
or mismatching new/delete's (new foo[a] vs. delete foo, etc.) is valgrind.

It requires Linux/x86 with a recent glibc. 2.4 kernel is not
required but recommended AFAIK. It is available under the terms of
the GPL and can be found at

http://developer.kde.org/~sewardj/


Simon


Message 5 in thread

There is a tool called valgrind that is really great. Doesn't work for 
multithreaded program, but otherwise it's great.

http://developer.kde.org/~sewardj/

/Mauritz
GlobeCom AB

Stephane Routelous wrote:

>Hi,
>
>Do you know a free product running on Linux to detect Memory Leaks in C++ 
>Code ?
>
>TIA,
>
>Stephane
>http://www.exotk.org
>
>--
>List archive and information: http://qt-interest.trolltech.com
>


Message 6 in thread

On Wed, Mar 20, 2002 at 11:53:08PM -0500, Stephane Routelous wrote:
> Hi,
> 
> Do you know a free product running on Linux to detect Memory Leaks in C++ 
> Code ?

Check the mpatrol. Linux/Win32!

Patrik

Attachment: pgp00003.pgp
Description: PGP signature