I've installed Devel 6.x-1.x-dev on my Drupal install on a local Apache server; it seems to work OK with the Garland theme, but on my own theme keeps giving a Fatal Error:

Allowed memory size of [nnnn] bytes exhausted (tried to allocate 1028646 bytes) in D:\shared\drupal\modules\devel\devel.module on line 1369

[nnnn] is any figure of memory, as I've tried increasing memory allocation from 8MB up to 256MB and I get the same error no matter what I do. I have the same problem with the stable version too.

Any help would be appreciated.

Comments

moshe weitzman’s picture

Status: Active » Closed (duplicate)

devel_themer uses a lot of memory when coupledwith Views especially.

yelloroadie’s picture

I have had the exact same error on line 1351.

It started when I turned devel on to have a look at a new view block. Even with 256M of memory it's not working, and it times out at 512M. I'm guessing there must be some sort of leak / problem in relation to views?

Now I'm stuck out of my admin area, I'll have to use phpmyadmin to manually turn devel off.

yelloroadie’s picture

OK. Can anyone help me with how to turn devel off from my situation (no admin pages will load if I log in, clearing cookies and site cache have not helped), presumably i can do it somehow from phpmyadmin.

yelloroadie’s picture

managed to turn of the view-block in phpmyadmin, then the page would load and i could turn off devel.

gettysburger’s picture

I'm getting this same error. Where would I have to go to allocate more memory?

I went to my ISP and on the PHP Core Configuration page I found:

Memory Limit 99MB

Is that the place? Would it be something I would have to ask my ISP about? Thanks.

Stephen

loze’s picture

I have noticed that using the administration menu module (http://drupal.org/project/admin_menu) along with the devel themer module adds to these memory problems.
if you are using both at the same time, try disabling the administration menu module. Devel works much faster for me if i do this.
hope that helps someone

beasley’s picture

Version: 6.x-1.x-dev » 6.x-1.9
Component: devel » devel_themer

Just to say I'm having the same problem. If I enable the devel module alone, then that's fine. If I enable the devel_themer module as well I get:

 *
      ... (Array, 2 elements)
    *
      Krumo version 0.2a
      | http://krumo.sourceforge.net

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 556535 bytes) in C:\xampp\htdocs\drupal\sites\all\modules\devel\devel.module on line 1262

I've tried disabling the Views module and increasing the resource limit in php5.ini, but no luck. I have to disable the devel_themer module in phpMyAdmin to get my site back.

elpane’s picture

I have exactly the same problem. The error I am getting is:

(Array, 3 elements)
Krumo version 0.2a
| http://krumo.sourceforge.net

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 356577 bytes) in .../sites/all/modules/devel/devel.module on line 1262

I have tried to disable devel_themer in phpMyAdmin, but then I see a white page when browsing to my site. If I enable again devel_themer, I recover my site but can´t go into the admin/modules page to disable or uninstall devel.

moshe weitzman’s picture

should be fixed in HEAD

2createwdrupal’s picture

Title: Memory allocation problem » Memory allocation problem - I am using 6.3 and only "modules" gives error

Hello, I have just enountered this, simliar, if not the same problem.

http://drupal.org/node/293787

I am not sure what to do next.

Thanks. Please look at the link as I have included a lot of detail.