XML Sitemaps Generator

Author Topic: Allowed memory size of 268435456 bytes exhausted  (Read 10670 times)

rob38

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Allowed memory size of 268435456 bytes exhausted
« on: August 05, 2010, 05: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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Allowed memory size of 268435456 bytes exhausted
« Reply #1 on: August 05, 2010, 08: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.
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.

rob38

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Re: Allowed memory size of 268435456 bytes exhausted
« Reply #2 on: August 06, 2010, 05: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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Allowed memory size of 268435456 bytes exhausted
« Reply #3 on: August 06, 2010, 09: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
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.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2