[drupal-devel] Memory profiling for modules

Gabor Hojtsy gabor at hojtsy.hu
Wed Aug 10 18:08:14 UTC 2005


>>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.

Goba



More information about the drupal-devel mailing list