WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Out of memory (7 posts)

  1. Martin Hasan
    Member
    Posted 3 years ago #

    I'm currently using WP E-Commerce and when I tried to add variations to a product this happened:

    Fatal error: Out of memory (allocated 31719424) (tried to allocate 16 bytes) in /homepages/17/d280020283/htdocs/addicted2hair/wp-includes/meta.php on line 332

    I've tried increasing the memory limit (which is useless since it's only a temporary fix) but I still can't get it to work.

    Any help is welcomed! Thanks in advance!

  2. theotherlebowski
    Member
    Posted 3 years ago #

    that sounds like a server side issue, you'll need to take it up with them as you're probably on shared hosting (like me when i got a similar message) and that only gives you a certain amount of system memory for your site to use.

    you could try and deactivate any non-essential plugins and perhaps delete all of the plugins you're not using/never use...

  3. phe.le
    Member
    Posted 3 years ago #

    Increase the limit in wp-config.php:

    define('WP_MEMORY_LIMIT', '96M');

    Change the number to whatever limit you want.

  4. Martin Hasan
    Member
    Posted 3 years ago #

    First of all thanks for the quick reply!

    That's the the weird thing, I'm only using 2 plugins! I guess I have to give my hosting a call.

  5. Martin Hasan
    Member
    Posted 3 years ago #

    @phe.le I've tried all that. But I'm still getting an error...

  6. phe.le
    Member
    Posted 3 years ago #

    It should work unless your host does not allow for increasing the PHP memory limit. I would recommend you to contact them.

  7. meloniq
    Member
    Posted 3 years ago #

    define('WP_MEMORY_LIMIT... is one thing....
    second one thing which You may try is...
    add to .htaccess line:

    php_value memory_limit 64M

    If this doesnt work as well, contact Your hosting provider

Topic Closed

This topic has been closed to new replies.

About this Topic