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.