Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Menu Add Block is giving me: Fatal error: Allowed memory size of 134217728
We have quite a few menus (using big menu for structure memory issues), but can't figure this one - even upping config setting significantly I get this error.
PHP version 5.3.3
Comments
Comment #1
sunnydeveloper CreditAttribution: sunnydeveloper commentedupped memory even more and worked.
Comment #2
redsky CreditAttribution: redsky commentedI have the same problem (Drupal 7.26 and Menu Block 7.x-2.3). However setting the memory limit to 300MB was still not enough.
[Sun Mar 30 22:38:18 2014] [error] [client x.x.x.x] PHP Fatal error: Allowed memory size of 314572800 bytes exhausted (tried to allocate 71 bytes) in x/sites/all/modules/menu_block/menu_block.module on line 676
Comment #3
redsky CreditAttribution: redsky commentedI think now that I have other problems and it's just a coincidence that it died on this module. Other recent failures happened to be other modules. Sorry about that.
Comment #4
osopolarA site with over 8000 books run out of memory on the menu_block_configure_form due to book_menu_block_get_menus(). As we do not want to use books as menu blocks I disabled that the invocation of book_menu_block_get_menus():