the usual memory problem - tried everything - I think!
« on: March 31, 2006, 07:49:14 PM »
Hi, I  have the same problem as many people seem to have - the script crawls for a while and then stops - when I try to "resume" I then get memory problems

I've read loads of posts here about it and tried the following:

I have changed the php3.ini fil so that it can run for 9000 secs and 80MB files but it makes no difference

Basically, it gets to around 10,000 pages and then stops.

When I choose the option to save the map as I go along and then "resume" once it's interrupted I get this error:

Resuming the last session (last updated: 2006-03-31 18:17:09)
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 524288 bytes) in /homepages/7/d156406513/htdocs/ITB/sitemap/pages/class.grab.inc.php(2) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 294

I then got my host to restart Apache (I hadn't done that before after changing the php.ini file) and it still made no difference.

Last thing I tried is to upload a new php.ini with the max_execution_time set to 9000 secs and memory variable set to 80mb and that didn't work either (this is what my host told me to do) - I uploaded this to the web domain root.
The php.ini file I uploaded to domain root is this:
max_execution_time = 9000
memory_limit = 83886080

Tried again, no luck

HELP! I don't know what to do now??

Thanks

Thanks