views:

51

answers:

1

hi,

I'm using Drupal with many modules because I need a lot of functionalities such as Newsletter, Taxonomy menus, Embed Videos.. and many other modules.

I get a fatal error when I enable all of them, but the point is that I'm using my development server with 128M of php memory.

So, I'm wondering... is basically impossible to run all these modules together in Drupal, or am I missing something ?

thanks

Update: this is the error message I get:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 30220918 bytes) in /includes/bootstrap.inc on line 840

A: 

Following up from some of the comments made.

Drupal can run with well over 100 modules and thousands of nodes and millions of users, in 128 mb.

However some modules or combination of modules may misbehave. The most likely culprit is a home grown module, or a module which is either in beta or doesn’t have a lot of users. As people have said in the comments try disabling modules.

Alternatively if you have your development environment set up correctly put a breakpoint in bootstrap.inc to work out what it is doing at that point.

On my local environment line 840 in bootstrap.inc is in the watchdog function, so you may want to check your log. You could post what is around line 840 in the question.

Jeremy French
well, I actually get the error, then when I refresh the module page, I see that the module has been enabled, instead. Despite of the error message
Patrick
Enabling modules can trigger an install script running and also does a cache clear which results in a menu rebuild. You may want to check your site is ok after a cache clear.
Jeremy French
yeah I performed several times cache clear, everything seems ok. I sometimes get the error when I add a new module
Patrick

related questions