• Resolved kristinubute

    (@kristinubute)


    Hi

    We are getting this message/errror in the Woocommerce/Logs

    2023-02-19T03:53:11+00:00 CRITICAL Allowed memory size of 536870912 bytes exhausted (tried to allocate 392956524 bytes) in /home/domain name/public_html/wp-includes/PHPMailer/PHPMailer.php on line 3405

    What could be causing this and HOW can we fix it ?

    It seems to cause a 503 error where we cannot access the page all of a sudden. The error log we found but not sure what is causing it.

    Very frustrating.

    Thanks

    Kristin

Viewing 31 replies (of 31 total)
  • Hello,

    Same issue here. Would you please let us know whether we should do both of the following methods, or one of them?

    Edit your wp-config.php file
    Add this to the top, before the line that says, “Happy Blogging”:

    define(‘WP_MEMORY_LIMIT’, ‘1024’);

    Edit your PHP.ini file
    If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 64M try 256M:

    memory_limit = 256M ; Maximum amount of memory a script may consume (64MB)

    Thanks

Viewing 31 replies (of 31 total)
  • The topic ‘CRITICAL Allowed memory size of 536870912 bytes exhausted’ is closed to new replies.