FW: FW: Running out of memory

2001-07-10 Thread Blader Robert G DLVA
Thanks to everyone that responded. Adding a "my" before the line that did the split and stored the result in an array - @fw_logs = split(/;/, $LINE); seemed to make all the difference. I'm not certain I understand why - if anyone can shed light on that I'd appreciate it. for that ma

Re: FW: Running out of memory

2001-07-10 Thread Michael Fowler
On Tue, Jul 10, 2001 at 07:18:22AM -0400, Blader Robert G DLVA wrote: > open ( FWLOG, "./logfile.010626"); > > while ( $LINE = ) { > > chomp ($LINE); > @fw_log = split (/;/, $LINE); > > } If this is the only code you're using that has the problem you describe, and you didn't

FW: Running out of memory

2001-07-10 Thread Blader Robert G DLVA
I have a program that reads through a log file (from a firewall actually) and generates a few statistics from it. Problem is that is uses a ton of memory. I had to add a lot (500MB) of swap to a Linux box with 128 MB to begin with. BTW - Nothing else is running. I commented out everyt