Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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.

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: 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://704378]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2018-03-23 17:08 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (294 votes). Check out past polls.