Memory Limit Exceeded by Sitemap Script
« on: September 03, 2014, 11:02:46 PM »
Good afternoon,

I have been trying to create sitemap for my website which contains over 300,000 URLs. It ran alright for two days, but now it stops each time I try to run, and complete, the sitemap creation with this error:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 49270633 bytes) in /home/albumf/public_html/xgen/pages/class.utils.inc.php on line 102

I contacted my web host about it and they increased the PHP memory limit to 1GB which should allow for it to run and complete, but it still displays this error. My web host suspects that the memory size limit is mentioned somewhere in the XML Sitemap script.

Please advise so I can complete the sitemap.
Thank you
Re: Memory Limit Exceeded by Sitemap Script
« Reply #1 on: September 04, 2014, 12:41:59 PM »
Hello,

please also increase memory limit setting in generator configuration.