On Jun 28, 2006, at 6:30 PM, Philip M. Gollucci wrote:
Jonathan Vanasco wrote:
i'm using Crypt::OpenSSL::RSA
it has a memory leak when generating keys > 512
i generate keys 1024
i'm thinking that using sizelimit (i already do) should reclaim
the memory every so often when the child dies
unless the memory leak is happening elsewhere, not sure. i only
call the routines after fork though.
thoughts?
Try valgrind or possibly Apache::Leak ?
if you mean like a system() fork then it should be reclaimed when
the process is done.
sorry, i meant i only call after apache forks
i know the module leaks and there's nothing i can do about that...
but apache::leak might be able to tell me what's going on if i can
write a test to generate a bunch of keys and track memory before and
after sizelimit kills the child
| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -