Stops at 5300 and gives error
« on: February 07, 2009, 10:57:41 PM »
Hello,

I have tried to generate a sitemap but after 5300 pages it stops and throws an error "Fatal error: Out of memory (allocated 43515904) (tried to allocate 8126497 bytes) in /home/******/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 6".

I have tried to increase the "Maximum execution time" and "Maximum memory usage" in php.ini but it did not work.

Whats the problem?
Re: Stops at 5300 and gives error
« Reply #1 on: February 08, 2009, 02:03:06 AM »
Hello,

please create file called phpinfo.php in generator folder and content:
Code: [Select]
<?php
phpinfo
();
?>
Then open that file in browser to see PHP settings and make sure that memory_limit was actually increased.
Re: Stops at 5300 and gives error
« Reply #2 on: February 08, 2009, 02:22:50 AM »
I increased it to 256m and checked phpinfo. Ran Generator and stopped at 5400 then the generator stopped and showed a blank page.
« Last Edit: February 08, 2009, 02:25:12 AM by hingli168 »