Hi @vatiazhospitality, thanks for getting in touch.
I’ve seen this exact issue with a Wordfence customer in the past, where there seems to be ~268MB allocated but this attempted somewhat smaller ~6MB transaction failed.
The out of memory
error is given when memory exhaustion occurs outside of PHP somewhere on the server. The operating system log files and web server log files will likely show if memory is being exhausted somewhere outside of PHP. We normally recommend PHP memory limits with Wordfence such as 128MB
or 256MB
, so there could be something bigger going on. If you’re running your site on a shared hosting server, a different site could be exhausing the memory for yours and others.
For reference though, in case it helps, you could try altering memory_limit = 256M
and checking whether your max_execution_time = 60
in php.ini. Next, ensure wp_memory_limit
in wp-config.php is at least 256M
to mirror the other change, as similar issues can be caused by timeouts or memory being maxed out during scans or periods of heavy activity on your site.
If it doesn’t seem to be related to the settings above, I think it’s worth reporting the fatal error text to your host and see if they will review those OS and server log files with you.
Thanks,
Peter.