Need more memory... possible to set?
| From: | Damian Harouff | Date: | Tue, 10 Sep 2002 04:29:15 +0000 |
| Subject: | Need more memory... possible to set? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-115813@lists.php.net to get a copy of this message | ||
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 53738 bytes) in /var/cli/mp3anal/mp3anal.php on line 68.
Segmentation fault
This is line 68: while ($found = fscanf ($fp, "%s - - [%[A-Za-z0-9/]:%[0-9:] %[+-0-9]]
\"%[A-Z-] %s %[A-Z0-9/.]\" %[0-9-] %[0-9-]\n",
&$ip, &$date, &$time, &$ofset, &$request, &$file, &$protocol,
&$code, &$bytes)) {
Since this is a command line program, is it possible to set the memory
allocation higher? It's a program to read the mp3 lines out of an apache
log file.
This is the entire program:
http://www.cekkent.net/upload/mp3anal/mp3anal.phps