The devel module reported a memory leak at devel.module line 1299 ( $output .= _devel_print_object($value, $prefix, $field); )

I have just five contributed modules installed so couldn't be from too many modules enabled. Tried setting PHP memory up to 512MB (yeah, waaaay overkill).

Comments

nickgs’s picture

I was simply trying to get the theme information for a view I am configuring and was experiencing this error. What I did to fix this problem is simply comment out all the code in the _devel_print_object function. Obviously this is NOT a solution but a little hack just keep my workflow going... :)

I spend a couple of minutes in thought about what can be going and I am not sold that it is in this function. Try simply doing a print_r on the first parameter in this function ($obj) with everything else commented out. This is generating the same memory error. It seems whatever is populating this array is going out of control. Making the recursive "magic" just impossible to complete.

Crell’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #234581.