XF 2.3 Constant Fatal Error: Allowed memory size exhausted errors since upgrade

Jaxel

Well-known member
Since upgrading to XF2.3, I'm constantly getting Fatal Error: Allowed memory size of 134217728 bytes exhausted errors on various functions...

Importing styles, rebuilding addons, etc. They all cause the error.
 
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 86016 bytes) in /home/eightway/public_html/src/XF/Db/Mysqli/Statement.php on line 134

Fatal error
: Allowed memory size of 134217728 bytes exhausted (tried to allocate 73728 bytes) in /home/eightway/public_html/src/vendor/composer/ClassLoader.php on line 576
 
swap the file:
 
swap the file:
Sadly that did not solve the issue for me.
 
Allowed memory exhausted sounds like the PHP memory has been maxed out. The default might be 128mb unless you changed it. I have mine manually raised to 512mb.

You might need to do this upgrade via CLI to avoid the PHP memory limit if you can’t raise it.
 
Just found this thread. I've upgraded to 8.3.17 which seems to be the latest version. I'm getting out of memory errors for the same and it happens when I try to access Communications > Notices in the back end. Allocating 3GB doesn't even solve the problem, just for giggles. Nor does it change the allowed memory size reported.

Code:
 [proxy_fcgi:error] [pid 1486433:tid 1486440] [client x.x.x.x:64943] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12288 bytes) in /home/mysite/public_html/src/XF/Db/Mysqli/Statement.php on line 134; PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/mysite/public_html/src/XF/Error.php on line 1', referer: https://www.mysite.com/admin.php?users/alert
 
Last edited:
Back
Top Bottom