Hello,

I'm running Drupal 5.7 with 2008-Jan-21 dev Category.

Whenever I try to edit a category, I get the following errors:

As non-admin:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 81 bytes) in /home/user/public_html/portal/includes/common.inc on line 1385

As admin:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home/user/public_html/portal/sites/all/modules/category/category.inc on line 430

This is line 430:

tree = array_merge($tree, category_get_tree($cnid, $child, $depth, $max_depth, $distant));

Any ideas on what might be wrong?

Thanks,
Andrey.

Comments

JirkaRybka’s picture

Status: Active » Closed (duplicate)

This error occurs on a random place, where the limit first overrun in a request, but the basic issue is the sum of memory requirements on the whole site, vs. the limit. Your limit seems to be high enough.

- It may be caused by some other module "leaking memory", or just by the amount of modules on the site

- It may be caused by too many categories on the site (thousands). This was already mentioned elsewhere, with similar symptoms, so assuming this might be the case, I'm marking this as duplicate of #82554: Memory & Performance problems using Category module.