Mark Fowler <[EMAIL PROTECTED]> writes: > Ooops. > > Okay, something in my perl program is retaining memory. I'm pumping about > a Gigabyte of data though it and sooner or later it barfs as it exhausts > all the memory on the machine. Something is retaining data between each > chunk that's read in and spit out and BLAM, there the damn thing dies. > > I can't see what it is (and I've looked about, checked for obvious things) > > Has anyone got any ideas what I could do to determine what's taking up all > the space?
There are some excellent hints on tracking memory usage in the mod_perl guide: http://perl.apache.org/guide/ -- Dave Hodgkinson, Wizard for Hire http://www.davehodgkinson.com Editor-in-chief, The Highway Star http://www.thehighwaystar.com Interim Technical Director, Web Architecture Consultant for hire