Hi guys,
Firstly I'm new to Drupal (been researching it for 2 months). Now I just got into creating a theme myself. That is, I am developing a theme with templates and php functions hooks. I've watched the demostration of Devel with Theme Developer, it is awesome.
Then I've installed enabled it on my localhost dev environment, the Theme Developer option. After that I ran into 2 problems:
1. I got PHP error:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 15611 bytes) in E:\AppServ\www\xxx\sites\all\modules\devel\devel.module on line 1262
I guess it must proccess a alot of stuffs here (tho I haven't checked if what they are), The memory_limit config in my php.ini is 16MB. I've tried 32MB but failed either. 160MB works but this is insane.
2. After setting memory_limit to 160MB, the site runs but it is extremely slow (I guess it's because it proccesses more than 32MB !), My CPU reachs 100% at highest and not less than 50% average until the page completely loads, this happen on every refresh. It almost freezes Firefox3.
If I disable Theme Developer, everything is back to normal :(.
Anyone has any suggestion and explanation on this ?
Comments
Addtional Note:
When accessing Permissions settings, I got:
Fatal error: Allowed memory size of 167772160 bytes exhausted (tried to allocate 38934002 bytes) in E:\AppServ\www\xxx\includes\common.inc on line 2293.
This is really a serious problem to me, 160MB of memory_limit still isn't enough for Drupal. What am I doing wrong ?
My PC is Sony Vaio SZ340P with 2GB RAM, 1.83Hz Core 2 Duo CPU.
=-=
exact version of devel.module ?
how many other modules are installed ?
I ask because the version of devel.module I use is the latest -dev and I don't have the problem you speak of. I can run devel.module just fine on 32M of memory. Though admittedly there aren't many other modules running in my sandbox at moment beyond devel.module.
It is the latest,
It is the latest, 6.x-1.x-dev. I also thought it was because I installed too many modules (yes I did), but it's not because I now only have DHTML_menu and Devel.
=-=
may want to hop in this discussion the devel.module issue queue http://drupal.org/node/276496