• Hi,

    I have a website “www.yogamedjohanna.com” and I get the following message when trying to access it:
    Fatal error: Allowed memory size of 188743680 bytes exhausted (tried to allocate 10241429 bytes) in /var/www/yogamedjohanna.com/public_html/wp-includes/wp-db.php on line 1127

    I have expanded the memory limit to 128 M in my file manager (following tips in your supoort forum), but it’s still not working.

    Could you please help me!

    Kind regards,
    Johanna Klawitter Beusch

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator cubecolour

    (@numeeja)

    If the method to increase the allowed memory outlined at: https://codex.www.ads-software.com/Common_WordPress_Errors#Allowed_memory_size_exhausted does not have an effect, it could be due to a limitation put in place by your hosting company. If you contact their support team they should be able to advise you of the best way to proceed

    Thread Starter johannakb

    (@johannakb)

    Hi again,

    I have now been in contact with my hosting company and they give me the following answer:

    !It is as standard 180 MB on the server and you can raise this up to 512 MB, via .htaccess .

    But the problem is not due to server or memory limit, but your WordPress content.”

    I start to get a bit nervous since my website has been down the whole day. What can I do to solve this problem!

    Moderator cubecolour

    (@numeeja)

    The Host’s explanation seems rather vague. Can you ask them to elaborate on how the WordPress content is causing the problem. ie is it a PHP issue, database issue or something else? If they can tell it is a WordPress problem. They should be able to give some more clues – unless they’re trying to pass the buck of course.

    Have they increased the memory via .htacess for you? If not, use an ftp app to do this or ask your host if they can help with this.

    To do this try adding the following lines to your .htaccess file in the root directory after the line: # END WordPress

    php_value memory_limit 300M
    php_value post_max_size 200M
    php_value upload_max_filesize 100M
    Thread Starter johannakb

    (@johannakb)

    Hi,
    Thanks for helping me! I added the lines you suggested and now it’s working!
    Best,
    Johanna

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allowed memory size exhausted’ is closed to new replies.