[Solar-talk] Memory problems

Rodrigo Moraes rodrigo.moraes at gmail.com
Tue Nov 13 07:51:29 CST 2007


On Nov 13, 2007 11:35 AM, Paul M Jones wrote:
> * Problem: PHP's memory handling does not work well with parent/child
> circular relationships.
>
> * Solution:  call $record->__destruct() manually, then unset($record).
>
> Yes, this is tedious and inconvenient.  :-(

Thanks. I tried to __destruct() / unset(), but the same happens.  Now,
looking at the record class, it doesn't have a __destruct() method.
Should it have something special there? My records *have* related
records... I think I'm in a big trouble here and should change the
initial plan and run the whole migration in steps... any advice?

-- rodrigo


More information about the Solar-talk mailing list