[drupal-devel] Memory profiling for modules

Kieran Lal kieran at civicspacelabs.org
Wed Aug 10 19:07:48 UTC 2005


On Aug 10, 2005, at 11:08 AM, Gabor Hojtsy wrote:

>>> the most memory:
>>>
>>
>> Memory Usage (28) watchdog: 5,840 Kb -- Change 38 Kb
>> Memory Usage after all modules are loaded: 5,840 Kb
>>
>> And this is what I never understood. If after 28 modules only 5840  
>> kbytes
>> are consumed why Drupal needs 8, 16 sometimes even more megabytes?
>>
>
> I don't see what is confusing. This memory consumption is only what
> takes up to include all the files, doing no serious stuff (ie. big  
> data
> loading, image processing, etc). BTW you can easily go above 50  
> modules
> (not all enabled :) on a complex site.

CivicSpace ships with 61 and is about to ship with a lot more.

Mike, could you turn off all the blocks, in particular the menu  
navigation block and see if that changes things.

Thanks,
Kieran

>
> Goba
>
>




More information about the drupal-devel mailing list