• Resolved Darren Utteridge

    (@dutteridge2013)


    Getting this Fatal error: message when trying to scan WordPress site

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 995695 bytes) in /home/wwwbenfo/public_html/wp-content/plugins/wordfence/lib/wfConfig.php on line 599

    I’ve opened the wfConfig.php file and don’t understand what I need to change.

    Can anybody help?

    https://wordpress.org/plugins/wordfence/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same problem over here when trying to login (it´s only happening to no-admin users):

    “Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 56 bytes) in /mywebsite.com/web/wp-content/plugins/wordfence/lib/wfBrowscapCache.php on line 52197”

    Thanks.

    Don’t change wfConfig.php. If anything, use the Options Page to check your system’s configuration (bottom of page link) for memory_limit. It’s probably in the neighborhood of the Allowed Memory Size in your error message.

    I’m guessing you have a bunch of plugins that are hogging up all the memory.

    When my scans finish, they show how much memory Wordfence used, and it’s well below the Max Memory I’ve allocated on the Options page.

    Hi

    We’re sorry you are having issues with the plugin. While sdayman is right and it could be a problem with other plugins hogging the available, it might need an increase on the server by editing the php.ini file allowing for more memory to be used.
    This file is in /etc on my server but might be different on yours.

    Look for these sections:
    max_execution_time = 30
    max_input_time = 60
    memory_limit = 64M

    Try bumping up the last setting and see if that helps. I think my personal sites have it set for 128M but I’d have to look to be sure.

    tim

    @dutteridge2013

    Did this fix your issue?

    tim

    Thread Starter Darren Utteridge

    (@dutteridge2013)

    Thanks everyone for your help and feedback.

    Yes Tim, I have managed to increase my hosts memory_limit to 128M and now Wordfence is working very well.

    Thanks again.

    Cheers,
    Darren

    Glad we could help. 🙂

    tim

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘FATAL ERROR: Allowed memory size’ is closed to new replies.