As soon as I add VIEWS to the modules directory and reload '.../admin/build/modules/list', I get the following error message:

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 704148 bytes) in' ... '/includes/database.mysql-common.inc on line 41'.

Untill I remove the VIEWS directory, te drupal site is down...

Is there a setting I need to change somewhere?

Greets, 10o.

Comments

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

If you are using Theme developer module, disable it. It currently requires a LOT of memory.

Tino’s picture

I am not using that one.

Some external modules are:

  • Administration menu
  • FCK Editor
  • Image menu
  • Meta tags
  • PNG fix
  • Webform
  • CCK (with some extra fields)
  • Image (+ assist, gallery, import)
  • Lightbox2
  • CAPTCHA
  • Counter

And only a few optional core modules are activated...

conley’s picture

It seems to be a recurring problem. I've found several instances of it by doing google searches. This module is essential for me, and it is completely unusable until it gets fixed.

merlinofchaos’s picture

It seems that Drupal 6 uses a lot of memory, and Views needs a fair bit of memory too. You need to have at least 24 megs and some people report needing 32 megs.

Tino’s picture

Status: Postponed (maintainer needs more info) » Needs review

That's right.
After some searching I found out that this can be done by adding to .HTACCESS:

php_value memory_limit 30M

Now it works.

merlinofchaos’s picture

Status: Needs review » Closed (duplicate)

http://drupal.org/node/259479

(There was no patch in this issue)