Support » Fixing WordPress » Fatal error: Out of memory

  • Resolved Debwork

    (@sillymoney)


    This site is having an error but I haven’t touched it in about 1 month. (Yes, needs to be updated.) I can not open the dashboard. I have access to cpanel. FTP is ok.

    Client talked to web host and they said site is “ok” from their point of view.

    The message varies..
    Fatal error: Out of memory (allocated 3670016) (tried to allocate 64 bytes)
    Fatal error: Out of memory (allocated 3932160) (tried to allocate 30720 bytes)

    When I run php info memory_limit is 128M
    http://www.lowvisionsimulators.com/sitecontent/info.php
    http://www.lowvisionsimulators.com/info.php

    I tried the following advise from various threads here:

    Added to wp-config:
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    Added php.ini file to wp-admin:
    memory_limit = 256M ;

    Added php.ini file to plugins folder:
    memory_limit = 128M; Maximum amount of memory a script may consume (64MB)
    max_execution_time = 45;
    upload_max_filesize = 10M;
    post_max_size = 20M;

    Nothing has worked… What should I try next? And why would a stable site all of a sudden have a memory problem?

    Thanks so much

Viewing 2 replies - 1 through 2 (of 2 total)
  • dauidus

    (@dauidus)

    Quite possible a plugin problem. Mem limit changes only work with certain hosts. I’d try deactivation all your plugins through FTP and reactivating them one by one. If two of your plugins do close to the same thing, they might be triggering a fatal loop somewhere (happened to me about a year back). Backup your goods first, though.

    Debwork

    (@sillymoney)

    Client decided to change web hosts!
    Not a fix for everyone but it got it done.
    BackupBuddy to the rescue!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Out of memory’ is closed to new replies.