LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [OT] Looking for recommendations for solaris memory checker

[ILUG] [OT] Looking for recommendations for solaris memory checker

Paul Jakma paul at clubi.ie
Wed May 4 23:28:03 IST 2005


On Wed, 4 May 2005, Justin Mason wrote:

> ooh good tip!
>
> FWIW -- Sean, if purify is the featureset you're after, which it sounds
> like from that list you posted, then go use valgrind.  It's
> indistinguishable (saying this as someone who's spent a lot of time with
> purify).

IIRC, valgrind is i386 specific, which might not help Sean if he's 
running Solaris on UltraSPARC...

Whatever, if you have Solaris 9 or 10, then libumem is (IMHO) better, 
if you want to hunt down leaks or double-frees. It doesn't try to 
'emulate' i386 so its /far/ less heavy on run-time.

You can also do things like take a coredump (gcore) and run dbx/mdb 
on /that/ (useful for when you cant replicate the leak, but your 
customer can ;) - just ask them to set the relevant libumem 
environment variable and then 'gcore' the process once the leak is 
established and send you the core.)

mdb is really good, but a bit cryptic and alien initially if you're 
used to gdb though.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
No wonder you're tired!  You understood so much today.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell