Closed (fixed)
Project:
Taxonomy Access Control
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2007 at 15:22 UTC
Updated:
20 Jul 2008 at 11:24 UTC
when trying to set role-access permissions (admin/access/category ... version 4.7x) the memory of server is exhausted and produces the following error-message:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 259383 bytes) in /home/InetPub/dorfpolitik.at/includes/form.inc on line 576
there is indeed a vocabulary with very many entries and the term_access table consist of 42 pages when looking at it in phpMyAdmin. does this necessarily mean that the memory must be exhausted?
best greetings
kip
Comments
Comment #1
kip stanning commentedwhen deleting some of the terms from that vocabulary i could finally use taxonomy access module again. don´t know what exactly caused that exhaustion of memory.
Comment #2
summit commentedHi,
I have exactly the same, but I don't want to delete some terms...
Can somebody please help?
It's a drupal 4.7 site.
thanks in advance,
greetings,
Martijn
Comment #3
summit commentedHi,
I got memory exhausted with Taxonomy Access/ Access Control Category tab.
Please help me to resolve this!!
greetings,
Martijn
Comment #4
edrex commentedThis may be fixed in the 5.x-2.x branch, which allows keeping only those grants you need rather than one for every role×term. Please test and report any issues, thanks.
Comment #5
edrex commentedmemory usage is greatly reduced in the new version. I only get OOM when running node_access_rebuild with devel module enabled (so if get OOM with 2.x, check for devel).
Comment #6
edrex commentedoops, i didn't see that this was reported for the 4.7 version. TAC 5.x-2 won't likely get backported to 4.7. I think some optimization of the admin form and theme functions could reduce the memory usage to acceptable levels, but someone with an interest would have to take that on.
Comment #7
edrex commentedComment #8
momper commentedhello
i have the same problem ... is there any solution without updating? what we can do? a short hack in the module? - i only have to change some stuff - after this i can put everything back ...
thanks and greetings
momper
Comment #9
edrex commentedmomper: how about fix the module? Write a patch, and submit it, we will review and commit. I don't use 4.7 version so I won't write the patch, but I would review. You are a web developer, right?
Comment #10
keve commentedThis has been solved in 5.x-2.x-dev or 6.x-dev.
TAC for Drupal 4.6 or 4.7 is no longer supported.
Try using latest 5.x-2.x-dev or 6.x-dev version , the module has been totally rewritten.
If issue remains, reopen it for 5.x-2.x-dev or 6.x-dev version.