10 Aug
2005
10 Aug
'05
5:56 p.m.
On Wed, 10 Aug 2005, Karoly Negyesi wrote:
the most memory:
Memory Usage (28) watchdog: 5,840 Kb -- Change 38 Kb Memory Usage after all modules are loaded: 5,840 Kb
Note that the memory usage looks as if it would grow in parallel to the number of lines a module has.
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?
If you want to investigate it I suggest that you wrap Mike's code into a function, put calls to it in strategically chosen places, and look what happens. :) I suspect that the menu will make up for a fair portion of the used memory. Cheers, Gerhard