Forum Moderators: coopster & phranque

Message Too Old, No Replies

Memory management

         

BCMG_Scott

3:29 pm on Jun 23, 2003 (gmt 0)

10+ Year Member



I have a spider script that I wrote using some perl mods from CPAN. The problem is that when I run the script it chews up memory. Anyone have a good primer on memory management or suggestions on keeping memory use low. After a couple hours of running it is now at a size of about 225M UGGG!

Scott Geiger

BCMG_Scott

8:08 pm on Jun 23, 2003 (gmt 0)

10+ Year Member



Ok - after doing some digging it looks like my problem is in one of the modules I am using. It seems that the module doesn't use 'my' as it should, so I have some variables that are never being "deallocated" thus memory comsumption grows. I'll have to play around a bit and see what I can come up with.

Scott

sugarkane

11:37 am on Jun 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Which module is that?