OS: SUSE Linux Enterprise Server 11 SP1 x86 (32-bit)
Database: MySQL 5.1.60
Web Server: Apache/2.2.10 (Linux/SUSE)
PHP 5.2.14
Drupal 6.22
Repeatable: Always
Steps to repeat:
1. Download Module taxonomy menu and un-compress taxonomy_menu-6.x-2.9.tar.gz into modules folder
2. Enable the module in admin/modules page in site
3. Create a taxonomy vocabulary with a content type selected and terms to be added to the vocabulary dynamically. (If taxonomy terms are more than 5000 say, then error occurs. )
3. Visit node/add/[content-type] page in site.
Expected Results:
User sees the create content page and can create the node.
Actual Results:
Page is completely blank. Checking in the Apache Error Log showed this error:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 256 bytes) in /www/htdocs/includes/database.mysql.inc on line 167
But when installed 6.x-2.8 version, no such error occured.
Comments
Comment #1
dstolAs a work around, you may want to up the memory limit.
Comment #2
y.anvesh commentedIts not the problem with memory limit.
If no. of nodes are huge, the latest version is not working.
Earlier version working fine for same no. of nodes
Comment #3
abs commentedConfirming the issue. The problems happens with nodes with multiple terms and multiple vocabularies. The exhaustion happens even on vocabulary edit page (even when menu is not actually active for given vocabulary), in Kontext module etc. Downgrade did help.
Comment #4
dstolWhat's the memory limit on your server?
Comment #5
johnvHmm, IMO (in D7) the root cause is the fact that the menu system (unnecessarily) loads every object in the menu.
#1973920-7: Memory/Performance problems, when building a menu with a large taxonomy_menu
But abs (#3) says "Downgrade did help"...
Comment #6
dstolThe Drupal 6 version is no longer supported