WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
AISEOP, wp-e-commerce, and high memory usage (2 posts)

  1. whitelamp
    Member
    Posted 8 months ago #

    A customer of mine is using these two plugins to run his on-line shop. He has a large number of products (4000). Currently, in order to administer his products, he first needs to disable AIOSEO. Otherwise there is a server error as it runs out of memory - the PHP memory_limit is 128M. Obviously we are asking the hosts to increase this if possible, but I don't hold much hope, as system admins they seemed to struggle with the concept that a decent sized mysql query cache might actually benefit *all* their customers. But I digress.

    This is the error:
    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 83 bytes) in /home/X/public_html/wp-includes/meta.php on line 575

    When I do a backtrace from that point I find this:
    [file] => /home/innovate/public_html/wp-content/plugins/all-in-one-seo-pack/aioseop_functions.php
    [line] => 531
    [function] => get_post_meta

    Of course it may be that it's wp-e-commerce that is the "real" cause of this problem. Or maybe wordpress itself. But I thought I would start here.

    http://wordpress.org/plugins/all-in-one-seo-pack/

  2. Peter Baylies
    Member
    Plugin Author

    Posted 8 months ago #

    whitelamp,

    Agreed, I would first suggest raising the PHP memory limit to 256MB (which All in One SEO Pack tries to do out of the box, by the way) or switch hosting providers. 128MB is a fair amount of memory to be using, and All in One SEO Pack by itself shouldn't be using that much of it; as you can see from that error even - tried to allocate 83 bytes from one get_post_meta() call in a chunk of code that doesn't do that much - you were likely pretty close to the limit already.

    There are a lot of plugins out there that might help you test performance; of course, installing and trying to use any one of them could also put you over that 128MB limit, so you might want to troubleshoot further on a development site. I'd recommend Debug Bar and Query Monitor; P3 Plugin Profiler is ok for a general idea of what might be using more resources, but it's not exhaustive; WP XHProf Profiler is excellent, but does require a PHP extension.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.