XML Sitemaps Generator

Author Topic: XML Sitemap generator stops a few seconds after execution, out of memory error  (Read 7163 times)

andrew37

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
I was running the XML Sitemap generator from command line PHP (usr/bin/php-cli) earlier today and it ran up until getting an out of memory error. I have 2GB of memory allocated to PHP, so I don't think it should consume more resources than that. The site it's running on is [external links are visible to admins only], which is heavily interlinked.

Now I can't get it to run from command line or from the interface at all. On the interface, I don't see an option to run on the Crawling tab. When I run using /usr/bin/php-cli, then it stops after a few seconds. When I run using /usr/bin/php, then it stops with an HTTP 500 Server Error after a few seconds. However I can't see the error in my PHP error log.


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Hello,

what exactly is the error message you get when running generator in command line?
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.

andrew37

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
The error that I got was "Allowed memory size of x bytes exhausted (tried to allocate x bytes)"

I don't remember the specific amounts now. I think the first number was the 2 GB from my php.ini memory limit though.

Now it just fails silently when I run in the command line.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Please check the specific memory_limit setting via phpinfo on your site.
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