AW: Memory monitoring

Klein, Bernhard Bernhard.Klein@logicacmg.com
Thu Dec 11 08:59:00 GMT 2003


Thanks for all you help, but the real binary works under Solaris, so I need
to check it under this OS. Are there any memory-checkers available under
Solaris (5.9)

Greetings

Bernd Klein 
---------------------------------------------------------- 
LogicaCMG 
Financial Services, GB 21 
Flughafenallee 3 
28199 Bremen 
Phone : +49 421 30 96-121 
Fax : +49 421 30 96-118 
Email : bernhard.klein@logicacmg.com
---------------------------------------------------------- 


-----Ursprüngliche Nachricht-----
Von: Mihnea Balta [mailto:dark_lkml@mymail.ro]
Gesendet: Mittwoch, 10. Dezember 2003 21:47
An: Klein, Bernhard; gcc-help@gcc.gnu.org
Betreff: Re: Memory monitoring


Hi,

If you're running Linux on an x86 platform, you might want to give Valgrind
a chance to look at your code. (http://valgrind.kde.org/). It's worked
wonders for me. You can run the lightweight memory checker on your
production code, if performance isn't really critical (you'll have to
compile with debugging symbols though, in order to be able to use its
output). Unfortunatelly, Valgrind won't run on any other platform, due to
the way it's designed (it's actually a CPU emulator).

----- Original Message -----
From: "Klein, Bernhard" <Bernhard.Klein@logicacmg.com>
To: <gcc-help@gcc.gnu.org>
Sent: Wednesday, December 10, 2003 7:42 PM
Subject: Memory monitoring


>
> Hi all,
>
> I need to do a memory-monitoring inside my developed binary, because I
have
> an memory leak inside it and I can't localize it. So my idea is, a
> monitoring over a couple of days/weeks. I can't use any third-party tools
to
> do this, because the binary works in an production environment.
>
> How can I do this on an easy way? (is any Sourcecode available ?)
>
> I need this under Solaris 9 and under SuSE Linux (maybe there is no
> difference between both plattforms). I'm using gcc 3.3.2
>
> Bernd Klein
> ----------------------------------------------------------
> LogicaCMG
> Financial Services, GB 21
> Flughafenallee 3
> 28199 Bremen
> Phone : +49 421 30 96-121
> Fax : +49 421 30 96-118
> Email : bernhard.klein@logicacmg.com
> ----------------------------------------------------------
>
>
> This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
>
>
> ---------------------------------------------------------------
> Acasa.ro vine cu albumele, tu vino doar cu pozele ;)
> http://poze.acasa.ro/
>
>

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.



More information about the Gcc-help mailing list