开发者

Drupal: too many modules?

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 exhau开发者_JS百科sted (tried to allocate 30220918 bytes) in /includes/bootstrap.inc on line 840


I usually up the php memory limit in the setting file to get round this. Check out the article below.

http://drupal.org/node/207036


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.


Edit the sites/default/settings.php

ini_set('memory_limit', '96M');

set memory limit what ever u need

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜