0

I know this is asked a lot but mine seems to be unique. I get

Out of memory (allocated 2097152) (tried to allocate 4096 bytes)

But my phpinfo says I have 380MB in memory_limit.

This is where it gets weird. I only get this error when I try to access different pages but not every time. And the Out of Memory error is the exact same every time.

  • You sure you checked the web servers PHP and not the CLI? Have you spoken to your host about it? – Tom J Nowell Jul 10 '18 at 15:28
  • WordPress enforces it's own memory limits beyond what PHP is set to. Have you looked into that? I answered related questions here and here. Hope it helps. – DaveLak Jul 10 '18 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.