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

kip stanning’s picture

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

summit’s picture

Hi,

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

summit’s picture

Title: memory exhausted when trying to set access control » memory exhausted (50M) when trying to set access control

Hi,

I got memory exhausted with Taxonomy Access/ Access Control Category tab.
Please help me to resolve this!!
greetings,
Martijn

edrex’s picture

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

edrex’s picture

Version: 4.7.x-1.x-dev » 5.x-2.x-dev
Status: Active » Fixed

memory 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).

edrex’s picture

oops, 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.

edrex’s picture

Version: 5.x-2.x-dev » 4.7.x-1.x-dev
Status: Fixed » Active
momper’s picture

hello

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

edrex’s picture

momper: 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?

keve’s picture

Status: Active » Closed (fixed)

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