I get an Fatal Error message every time I try to generate a sitemap.

Code: [Select]
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4865296 bytes) in /home/***********/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 6
Re: I get an Fatal Error message every time I try to generate a sitemap.
« Reply #1 on: March 04, 2009, 11:31:13 PM »
Hello,

it looks like your server configuration doesn't allow to run the script long enough to create full sitemap. Please try to increase memory_limit and max_execution_time settings in php configuration at your host (php.ini file) or contact hosting support regarding this.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.
Re: I get an Fatal Error message every time I try to generate a sitemap.
« Reply #2 on: March 05, 2009, 04:06:07 AM »
OK I contacted my hosting company & they changed my server settings to:

Quote
we have increased php value for your domain in .htaccess.

Note :-
php_value upload_max_filesize 500M
php_value post_max_size 500M
php_value output_buffering on
php_value max_execution_time 6000000
php_value max_input_time 6000000

I tried to generate again, but the problem is still there. I always get the error in the same place.

Quote
Links depth: 3
Current page: search/Mix/
Pages added to sitemap: 4390
Pages scanned: 5220 (151,388.8 KB)
Pages left: 22506 (+ 12649 queued for the next depth level)
Time passed: 18:08
Time left: 78:14
Memory usage: 14,874.3 Kb

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 5569385 bytes) in /home/***********/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 6