Forums

[resolved] Memory size limit exhausted - Host is 32M limited (6 posts)

  1. brijux
    Member
    Posted 1 year ago #

    This is regarding my blog at http://brijux.com

    The site works fine but I can't login to the admin panel. I only see white blank page after logging in. Enabling debug messages showed the following error.

    "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /xxx/wp-admin/menu.php on line 235"

    I tried adding define('WP_MEMORY_LIMIT', '64M'); to wp-config.php but it doesn't work. I checked with my host, they limit memory to 32M and I cant override it.

    My question is,

    1) As I mentioned, I am not able to increase size beyond 32M. Is there any alternative to this solution?

    2) What caused memory limit to get exhausted? I have no change in my blog (no wordpress update, no theme/plugin update).

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    1. You will need to reduce the number of plugins you are using and possibly consider using a less-feature rich theme.

    2. Perhaps your hosts only recently decided to strictly enforce their memory limit?

  3. brijux
    Member
    Posted 1 year ago #

    @esmi

    1. How can I disable plugins if I cant even login to the dashboard? I am not able to login to dashboard because of this error. I have ftp access.

    2. I checked with the host. They said they always had 32M limit.

    I got a lot of spam comments (4000+) in a month and akismet was disabled. Can that cause this issue?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Sorry. Try resetting the plugins folder by FTP or phpMyAdmin.

  5. brijux
    Member
    Posted 1 year ago #

    Thanks esmi,

    Turning off all plugins worked. Now I will have to disable them one by one to find the culprit.

    Thanks a lot again.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No problem. It's difficult to run a site under 32M but it can be done. Good luck :-)

Topic Closed

This topic has been closed to new replies.

About this Topic