Script crash after 520 pages
« on: April 19, 2007, 08:05:46 AM »
Crawling a big site, the script crash after 520 pages with this error:

PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /home/httpd/html/xxxxxxxx/xml/pages/class.grab.inc.php(2) : eval()'d code on line 298
Allowed memory size of 8388608 bytes exhausted (tried to allocate 40 bytes)

I can change php.ini allowing more memory but hte risk is to crash the system

The script was stardeted by hands under ssh

Any idea ?
Re: Script crash after 520 pages
« Reply #1 on: April 19, 2007, 10:16:53 PM »
Hello,

this error means that you should increase the memory_limit setting in php configuration.