Out of memory error

Created on 9 February 2024, over 1 year ago
Updated 27 February 2024, over 1 year ago

After installing the latest Commerce Core I got the white screen of death because the server run out of memory. I had 128 MB in PHP settings and even after increasing it to 256 MB I still get same error:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in Unknown on line 0

If I again double the PHP memory I will get a database timeout error.

I don't know how to debug the memory leak because there is no meaningful error message which Commerce Core module is causing the issue. Reverting back to previous Commerce Core version fixes the issue.

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.38

Component

Commerce

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @kaipipek
  • 🇮🇱Israel jsacksick

    Hi, there isn't a lot we can do with this bug report... Where is the WSOD happening? On all pages? Anything in the logs? Something we can use as a starting point to debug this further?

  • 🇺🇸United States rszrama

    Recategorizing. I've never seen this behavior, so it must be something environmental or on the site in addition to Commerce Core itself.

  • It seems that the reason for this issues was that "drush cr" was not performing correctly. After emptying all caches from the admin UI everything works fine.

  • Status changed to Closed: cannot reproduce over 1 year ago
  • 🇮🇱Israel jsacksick

    Closing this then

Production build 0.71.5 2024