Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Centos 5 specific DBI memory leak

by jbert (Priest)
on Aug 14, 2008 at 16:01 UTC ( [id://704378]=note: print w/replies, xml ) Need Help??


in reply to Centos 5 specific DBI memory leak

Since CentOS is Linux, have you tried valgrind?

It should be able to tell you where the leaked memory was allocated, i.e. if it was from within perl or an external lib.

Replies are listed 'Best First'.
Re^2: Centos 5 specific DBI memory leak
by Krambambuli (Curate) on Aug 15, 2008 at 07:57 UTC
    I never used valgrind before, so I'm into new territories with this, but I'll probably give it a try.

    Thanks for your suggestion.

    Update: valgrind rocks! Now I just cannot understand how come I never used it till now ... ?!

    To all the fellow cowards like me (as I guess it was plain fear of yet-such-another-hard-to-use-debugging-tool that made me overlook it for so long): it's nothing to be afraid of! It's strong, but very gentle with newbies too - somewhat like Perl in this regard.

    And yes, it gave me in just a few minutes the information I was trying to find for a few days already: it's an Oracle shared library that causes my headache: libclntsh.so.9.0. Now if that isn't of help, I don't know what would be...

    Thanks again for pointing me this marveluous tool. I definitely became a fan of it in no time.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://704378]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found