Hi @moodyhosam, thanks for reaching out about this.
Errors like Allowed memory size of x bytes exhausted (tried to allocate x bytes)
, or Out of memory (allocated X) (tried to allocate X bytes)
are almost always memory exhaustion occurring somewhere else on the server. Once this happens, anything that requires some memory, like our scans or plugin updates can trigger the error but it’s not the root cause from multiple tests with customer server logs and Wordfence diagnostic data.
Your operating system/web server log files will likely show if memory is being exhausted somewhere outside of PHP and why. This is usually a job for your hosting company’s support as they have access to those logs, can diagnose the source and potentially resolve the problem internally. Shared servers especially could be susceptible to this problem, but that’s from other cases we’ve seen, and may not be the same cause for you.
Let us know what you find out!
Peter.