We moved to a new server on January 2nd and upgraded from 5.5.4 to 5.6.4 and the sitemap had not been generated since. I was getting the following error in my log related to xmlsitemap.php
[27-Jan-2021 16:40:57 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1310720 bytes) in ~/public_html/core/includes/class_sitemap.php on line 1158
The PHP memory limit was set to 32MB. After I changed the PHP memory limit to 64MB the sitemap generated without error. Our VPS has 8GB RAM allocated to it.
Devami...