You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generating the author sitemap on a site with a lot of users creates an enormous memory leak, this came in from a user (removed user specific stuff):
Today we have more than 30.000 posts and more than 50.000 users.
I had to increase the PHP memory from 256M to 1024M to create the sitemap, with only posts and users/authors checked (about 80.000 lines as total) to make it work.
Otherwise was giving me 500 error ([Mon Jun 24 14:18:16 2013] [error] [client 24.233.162.52] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) in /redacted/wp-includes/meta.php on line 574, referer: http://example.com/wp-admin/admin.php?page=wpseo_xml)
As we cannot set the PHP to 1024M, I decided to uncheck the users/authors and set the PHP with 256M and sitemapping only the posts. That way, everything worked fine.
The text was updated successfully, but these errors were encountered:
Generating the author sitemap on a site with a lot of users creates an enormous memory leak, this came in from a user (removed user specific stuff):
The text was updated successfully, but these errors were encountered: