Memory Usage of my Script

2008-01-02 Thread yitzle
Hi. I've got two scripts I am running and they both consume large amounts of memory (10MB). How would I go about finding where the memory is being used and figuring out how to reduce the memory footprint. Both scripts start off with: #!/usr/bin/perl use warnings; use strict; use WWW::Mechanize; u

Re: Memory Usage of my Script

2008-01-03 Thread Spiros Denaxas
On Jan 3, 4:10 am, [EMAIL PROTECTED] (Yitzle) wrote: > Hi. > I've got two scripts I am running and they both consume large amounts > of memory (10MB). > How would I go about finding where the memory is being used and > figuring out how to reduce the memory footprint. > > Both scripts start off with

Re: Memory Usage of my Script

2008-01-03 Thread Jenda Krynicky
From: yitzle <[EMAIL PROTECTED]> > Hi. > I've got two scripts I am running and they both consume large amounts > of memory (10MB). > How would I go about finding where the memory is being used and > figuring out how to reduce the memory footprint. > > Both scripts start off with: > > #!/usr/bin/p

Re: Memory Usage of my Script

2008-01-17 Thread yitzle
Hi. Sorry for resurrecting such an old conversation. I don't have any Objects, so I don't think I can have any cycles. DumpSizes tells me I'm only using around 200KB RAM. Yet top reports close to 10MB, mostly in the DATA segment. Where is that memory going? Is it probably the includes? I don't see

Re: Memory Usage of my Script

2008-01-17 Thread Tom Phoenix
On Jan 17, 2008 3:36 PM, yitzle <[EMAIL PROTECTED]> wrote: > DumpSizes tells me I'm only using around 200KB RAM. > Yet top reports close to 10MB, mostly in the DATA segment. > Where is that memory going? Is it probably the includes? I don't see > where else it can be. As it runs, your perl binary