XF 1.5 Out of memory on importing posts


Well-known member
On importing threads and posts for a big board I am running into a memory issue. I am not sure what causes this, as there should be more than enough memory: php_value memory_limit 1056M

Fatal error: Out of memory (allocated 25214976) (tried to allocate 11558296 bytes) in/library/Zend/Db/Statement/Mysqli.phpon line276

When I continue the import later it immediately goes to the error.

Any idea where to look?

Chris D

XenForo developer
Staff member
An out of memory error is not likely down to the memory_limit value. In your case, PHP seems to be unable to allocate more than 25MB.

This is pretty low and may suggest your server is actually out of memory. Is there anything going on with the server that could be impacting available memory?