Memory issues on upgrade?

Created on 24 June 2024, 5 months ago

Anyone run into memory issues after doing the 3.2.0 update? I was having issues with certain nodes containing a views base image slideshow giving a WSOD

The site is running 10.2.7 (can't do the 10.3 update yet) with 500MB of memory allocated

I was getting various database/SQL error messages

[24-Jun-2024 00:32:08 America/New_York] PHP Fatal error:  Allowed memory size of 524288000 bytes exhausted (tried to allocate 20480 bytes) in docroot/core/lib/Drupal/Core/Database/StatementWrapperIterator.php on line 276
[24-Jun-2024 00:32:10 America/New_York] PHP Fatal error:  Allowed memory size of 524288000 bytes exhausted (tried to allocate 20480 bytes) in docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php on line 1256
[24-Jun-2024 00:32:16 America/New_York] PHP Fatal error:  Allowed memory size of 524288000 bytes exhausted (tried to allocate 20480 bytes) in docroot/core/lib/Drupal/Core/Database/StatementWrapperIterator.php on line 276
[24-Jun-2024 00:32:18 America/New_York] PHP Fatal error:  Allowed memory size of 524288000 bytes exhausted (tried to allocate 20480 bytes) in docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php on line 1269
[24-Jun-2024 00:32:22 America/New_York] PHP Fatal error:  Allowed memory size of 524288000 bytes exhausted (tried to allocate 20480 bytes) in docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php on line 1256

Once I reverted the module to 3.1.0, the issue resolved.

I'm not sure I have any more useful information than that...

Thanks,
Eric

🐛 Bug report
Status

Needs review

Version

3.2

Component

Code

Created by

🇺🇸United States aitala

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

Comments & Activities

  • Issue created by @aitala
  • 🇮🇳India abhiyanshu_rawat

    Hi @aitala
    The site is running on version 10.2.7, and after updating to version 3.2.0, the memory allocation error likely occurs because newer versions sometimes include performance improvements and bug fixes that could reduce memory usage.

    I think the solution for this is to increase the PHP memory limit. Here are the steps:

    • Locate your php.ini file.
    • Increase the PHP Memory Limit:
    • Edit the file and look for the line that sets memory_limit.
    • Increase this value to a higher limit. For example, change memory_limit = 500M to memory_limit = 1024M (for 1GB of memory).
    • Save the file and restart the web server for the changes to take effect.
    • Confirm the new memory_limit value using a PHP info file (phpinfo.php).

    Hope this works !

  • Status changed to Needs review 5 months ago
  • 🇮🇳India bharath-kondeti Hyderabad

    @aitala
    I don't see any issue post the upgrade of the module. It just enables the media library module using hook_update. It should be not due to the upgrade of this module.

  • 🇺🇸United States aitala

    Hi,

    I think you are correct... there was another change at the same time that I thought would not have affected the site, but did.

    You can kill this report..

    Thanks,
    Eric

Production build 0.71.5 2024