Fatal memory error when accessing WP admin

Upon logging into admin for aspenviewhomes.com (hosted on GoDaddy, max resource level plan in place there via shared hosting account), I get a message like the one below (the amount of bytes varies for the allocation attempt):

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in /home/avh2014/public_html/wp-includes/wp-db.php on line 2347

I have phpinfo loaded at the URL below (which I’ve removed since; I can send you the output as an html file via separate email):

http://aspenviewhomes.com/wp-admin/memory_info.php

I edited wp-config and added define( ‘WP_MEMORY_LIMIT’, ‘128M’ );

As far as you know, would that be the fix for this, or does your experience with GoDaddy suggest otherwise? Thank you.

  • Tyler Postle
    • Recruit

    Hey Steve,

    Hope you’re doing well today.

    Yes, that would normally be the fix for this issue; however, looks like it needs more. You can tell this by the allowed number of bytes, 134217728. That’s about 134mb so it’s reaching and passing the 128mb limit.

    Try this:

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

    Your host might only allow up to 256M, so if you see it stops at 256M and you are still experiencing this issue then you will want to contact GoDaddy and see if you can get it increased further.

    If you have any further questions just let us know. Hope you have a great rest of your weekend!

    Cheers,

    Tyler