Memory exhausted


  • | 116 points

    Hi,

    Just migrated from Wamp to Laragon. I have a few Wordpress sites and for some reason they keep running out of memory. Specifically getting a memory exhausted error. Both Wamp and Laragon are set to 512M and I never had this issue while using Wamp. Any ideas why this is happening and how to solve it?

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8790980389546 bytes) in E:\sites\test\wp-includes\functions.php on line 5231


  • administrators
    | 87280 points

    @sunkast : I guess you are using different version of PHP. Try the same PHP version if you want to find the clue. Otherwise, just increase to 1024M.


  • | 2092 points

    I've been getting that a bit too, I think it's some type of memory leak in WordPress. I've been fixing it by just restarting Apache. WordPress 4.9.8 (released today) addresses it, I think. See https://make.wordpress.org/core/2018/08/02/wordpress-4-9-8/ and search for "memory leak"


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.