• Fresh install, blog loads but trying to go to the admin area or creating a post is impossible as I get the dreaded out of memory error.

    I have adjusted the php.ini as people suggested, its now 128mb instead of the 64mb. Also added these lines to the wp-config file as someone else suggested.
    /** Memory Limit */
    define(‘WP_MEMORY_LIMIT’, ‘128M’);

    But no dice. I keep getting the same message. In fact it says “allocated 14680064” which is nothing like the 128mb I have entered in two places.

    Anyone got any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You might try to contact your host for help with memory issues. They sometimes have limits which will override your settings.

    Other than that, try disabling plugins, see if the error goes away and add them back in one by one. Maybe there’s one causing you this issue.

    Thread Starter Gerard van Schip

    (@puckman)

    Hi Janet, thanks for the fast response. As said above this is a fresh install, zero plugins or any content for that matter.

    I ran
    <?php
    phpinfo();
    ?>

    Which neatly reports that I have allocated 128mb to PHP. As for the host, its a VPS so I have full access to the whole machine and any limits.

    This is driving me nuts. Thing is that the blogs used to work. Now old and new ones suddenly stopped working.

    its a VPS so I have full access to the whole machine and any limits….

    Look in your logs for errors and the main php.ini file to see if configs were changed.

    Reboot the VPS, too.

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