Re: out of memory

Roy T. Fielding (fielding@kiwi.ics.uci.edu)
Thu, 22 Jan 1998 22:24:26 -0800


In message <01BD1D24.F1BF0DA0@machina.iamm.fr>, Erik Bernard writes:
>When I run splitlog on my server I get always an "out of memory" reply. The 
>size of my access log is 97 Mo. Is it too much ?

It shouldn't be running out of memory, since splitlog doesn't save
information between log entries (except for the DNS table, which is
a dbm hashfile).

It is possible that your perl has a memory leak (try upgrading to a
newer version, if possible) or that something in the splitlog code
is failing to recover memory.  Unfortunately, those are difficult bugs
to find without some form of memory allocation trace.

You could always just use a text editor (or the UNIX split command)
to make it several small files first.

....Roy