Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Centos 5 specific DBI memory leak

by jbert (Priest)
on Aug 14, 2008 at 16:01 UTC ( #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.


Comment on Re: Centos 5 specific DBI memory leak
Re^2: Centos 5 specific DBI memory leak
by Krambambuli (Deacon) 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
Node Status?
node history
Node Type: note [id://704378]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-07-28 05:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (186 votes), past polls