I get an error (in Apache error_log):

FATAL: emalloc(): Unable to allocate XX bytes

I increased 'memory_limit' PHP parameter to 32M (a maximum allowed by my hosting provider) but it doesn't help.

How to limit memory consuming of Drupal scripts?

(I use CivicSpace distribution based on Drupal 4.6.6 and CiviCRM 1.3)

Comments

Michael M’s picture

Just delete any unused modules because they are all loaded when visiting the admin/modules page

----
http://LandCondos.com

alexeya’s picture

But I cannot even login to Drupal :-(
Can I simply delete xxx.module files from 'modules' dir?

Michael M’s picture

Yes. Delete the ones that you did not enable.

You can also disable the ones enables by running the query:

UPDATE system SET status=0 WHERE name='example';

found at http://drupal.org/node/51216
----
http://LandCondos.com

alexeya’s picture

Thanks! I disabled some modules via mysql shell and could log in.