• I have run into memory limit issues on bigger sites using the iThemes Security plugin… when the plugin is disabled everything works fine. When the plugin is enabled about every 5-10 page loads ends up just a blank white page, and the error_log renders a memory size error. This also happens for every database backup.

    [13-Apr-2014 15:40:56 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 77820361 bytes) ….

    https://www.ads-software.com/plugins/better-wp-security/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try increasing your WP memory limit:
    https://codex.www.ads-software.com/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    You can see what your PHP memory limit is by using
    <?php phpinfo(); ?> inside a file and viewing file in your browser. Then look for memory limit row. That’s your limit, so technically you can set WP memory limit up to that number to allow it to use more.

    Usually it uses 64M, so first try 96M. See if that fixes your issue, if not… then try increasing more.

    Hi guys,

    I had the same fatal memory error you do, i found a possible solution.

    As others have noted, removing plugins helps but doesn’t fix the problem. That’s because the problem is something else.

    In my case (and someone else I saw online) the problem was caused by an entry in the theme settings. One of the text entries was getting a whole bunch of //////’s added to the text entry every time the page was saved. When I got the memory error, the entry had gone from “This is where my studio is” to “This is//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// where my studio is” but with about a thousand slashes!

    I suggest that anyone having the memory problem look through their text entries in theme settings for a similar problem. Not sure what causes it but sure glad to know how to fix it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Memory Limit Error’ is closed to new replies.