Allowed memory size of 268435456 bytes exhausted
« on: August 05, 2010, 06:21:22 PM »
How to fix the thing below?
Please help...

Links depth: 3
Current page: www/webshop-75
Pages added to sitemap: 2593
Pages scanned: 4040 (110,857.9 KB)
Pages left: 7 (+ 99017 queued for the next depth level)
Time passed: 0:11:53
Time left: 0:00:01
Memory usage: 128,294.6 Kb
Auto-restart monitoring: Thu Aug 05 2010 19:20:44 GMT+0200 (6 second(s) since last update)
Resuming the last session (last updated: 2010-08-05 17:10:06)
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 26828930 bytes) in /var/www/metamedicine_com/www/sitemap2/pages/class.utils.inc.php(2) : eval()'d code on line 27
Re: Allowed memory size of 268435456 bytes exhausted
« Reply #1 on: August 05, 2010, 09:06:52 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.
Re: Allowed memory size of 268435456 bytes exhausted
« Reply #2 on: August 06, 2010, 06:41:03 AM »
I set my HTACCESS to:
php_value upload_max_filesize 128M
php_value memory_limit 1024M
php_value max_execution_time 9000
php_value max_input_time 9000


and still ...

Links depth: 3
Current page: www/webshop-75
Pages added to sitemap: 2593
Pages scanned: 4040 (110,857.8 KB)
Pages left: 7 (+ 99018 queued for the next depth level)
Time passed: 0:11:51
Time left: 0:00:01
Memory usage: 128,257.6 Kb
Auto-restart monitoring: Fri Aug 06 2010 07:40:14 GMT+0200 (11 second(s) since last update)
Resuming the last session (last updated: 2010-08-05 17:10:06)
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 26864115 bytes) in /var/www/metamedicine_com/www/sitemap2/pages/class.utils.inc.php(2) : eval()'d code on line 27

Any other way?
Re: Allowed memory size of 268435456 bytes exhausted
« Reply #3 on: August 06, 2010, 10:33:09 AM »
Hello,

from the error message it looks like memory_limit is still at 268435456  (256M), may be .htaccess directives do not override master php settings and you need to update it in php.ini