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

sunnydeveloper’s picture

Status: Active » Closed (fixed)

upped memory even more and worked.

redsky’s picture

Issue summary: View changes

I 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

redsky’s picture

I 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.

osopolar’s picture

A 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():

function custom_module_module_implements_alter(&$implementations, $hook) {
  if ('menu_block_get_menus' == $hook) {
    unset($implementations['book']);
  }
}