Support » Fixing WordPress » WordPress hit memory limit but not from the server

  • pstidsen

    (@pstidsen)


    Hi there,

    I have struggled with this for hours and days. I need good ideas for a fix now.

    When I do a certain action in WordPress, I sometimes get a Fatal memory error. The error comes after I hit “Update” on a tag/term. The error seems to be related to a WordPress core file.

    It looks like that the script hit a memory limit at around 700 MB:
    2021-01-14_11-34-21

    However, the limit on the server is much higher – 5096 MB:
    2021-01-14_11-37-46

    Our server administrator has confirmed that we do not hit any limit at their end.

    What I have tried:

    • Deactivating all plugins and switch to default theme. That solves the problem
    • – However: It is impossible to identify the problem to one single plugin. Different combinations of plugins gives the error.
    • Switching to PHP 7.1 solves the issue. However that’s not a permanent, good solution.
    • Can there be a “fake” memory limit in some script, plugin etc.? We do use LiteSpeed Cache on the server – I do not know if that’s relevant.

      Any ideas and suggestions are appreciated.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.