XF 2.0 PHP Memory still not enough

Code:
Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 20480 bytes) in /public_html/src/XF/Db/AbstractStatement.php on line 99

Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 32768 bytes) in /public_html/src/XF/Error.php on line 1

I'm not sure what process is using this big memory.
 
Last edited:
Code:
Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 20480 bytes) in /public_html/src/XF/Db/AbstractStatement.php on line 99

Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 32768 bytes) in /public_html/src/XF/Error.php on line 1

I'm not sure what process is using this big memory.
Increase memory_limit in php.ini and restart php-fpm
 
I increased the memory to 2gig but still encounters this error
Screen Shot 2018-07-21 at 12.16.57 PM.webp
Code:
Fatal error: Out of memory (allocated 1698758656) (tried to allocate 20480 bytes) /public_html/src/XF/Db/AbstractStatement.php on line 99

Fatal error: Out of memory (allo[ATTACH=full]180274[/ATTACH]cated 1698758656) (tried to allocate 32768 bytes) in /public_html/src/XF/Error.php on line 1

This is the timeline of what I did.

1. Installed XF 1.5
2. Migrated Data from VB 1.7 (because XF 2.0.7's importer won't import all of the data)
3. Upgraded to XF 2.0.7

This only happens to the "admin" user which the first user that was created for this forum. I created a normal user and the forum displays properly.
Logged out users is not affected.

Error messages from the log file
Code:
[Sat Jul 21 04:07:21.261476 2018] [proxy_fcgi:error] [pid 6967] [client 127.0.0.1:54492] AH01071: Got error 'PHP message: PHP Fatal error:  Out of memory (allocated 1700855808) (tried to allocate 20480 bytes) in /public_html/src/XF/Db/AbstractStatement.php on line 99\nPHP message: PHP Fatal error:  Out of memory (allocated 1700855808) (tried to allocate 20480 bytes) in /public_html/src/vendor/league/flysystem/src/Adapter/Local.php on line 19\n'
[Sat Jul 21 04:13:04.573301 2018] [proxy_fcgi:error] [pid 7802] [client 127.0.0.1:54563] AH01071: Got error 'PHP message: PHP Fatal error:  Out of memory (allocated 1698758656) (tried to allocate 20480 bytes) in /public_html/src/XF/Db/AbstractStatement.php on line 99\nPHP message: PHP Fatal error:  Out of memory (allocated 1698758656) (tried to allocate 32768 bytes) in /public_html/src/XF/Error.php on line 1\
 
Top Bottom