• Resolved justatest47

    (@justatest47)


    The plugin is ok, really interesting but the sitemap is defective. It does not work with large blogs. I have 18000 posts and it gives a RAM error.

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 524288 bytes) in /home/customer247553/public_html/wp-includes/meta.php on line 812

    Im not sure how much RAM my host gives me but I think its only 256MB?

    I know exactly why the plugin gives this error. Its because it tries to place all the links inside one sitemap. The sitemap should be split in like 3000-5000 links per sitemap. This is how many are doing it. Many however are putting 1000 links per sitemap but I think this is unnecessary. 1000 is too little. In fact just let users add whatever number they want.

    I hope you can fix it. Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @justatest47,

    hope you’re doing well and I’m really sorry for the long waiting time and the inconvenience with the sitemap creation.

    That’s 256MB exhausted indeed, you may want to try to increase this up though:
    https://codex.www.ads-software.com/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    As for your proposition, this is already tasked by our developers so it will be implemented in a future release, I really can’t provide any estimated time on this though.

    Warm regards,
    Dimitris

    Thread Starter justatest47

    (@justatest47)

    LOL!!! This isn’t a solution :))) maybe my server won’t allow me to increase my PHP memory through php.ini (and it DOESN’T).

    The solution is to just SPLIT the sitemap not for me but everybody is doing it nowadays. Imagine a wordpress with 1.000.000 posts, your plugin would probably require 128GB RAM to generate a sitemap.

    Offer splits, let the users set number of posts per split and set the order of posts like this: oldest posts in the first split, then gradually the newest posts in the last split just like YOAST sitemap.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @justatest47

    Not a solution, just a workaround (if possible of course) until our developers re-write this functionality so it uses smaller sitemap files and doesn’t require so much memory. ??

    Thank you,
    Dimitris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sitemap RAM error’ is closed to new replies.