[Solar-talk] Memory problems
Rodrigo Moraes
rodrigo.moraes at gmail.com
Tue Nov 13 08:14:27 CST 2007
On Nov 13, 2007 11:56 AM, Paul M Jones wrote:
> * Make sure you destruct/unset the model class too, if it gets
> created inside the loop.
>
> * Sounds like we need a __destruct() method for the record class that
> kills off child objects (like relateds, other models, etc). Perhaps
> we need to go back through *all* the model classes and check for
> parent/child circular relationships.
>
> * ... can't think of much else right now. :-(
woo, i got it working without being killed. :D
1. I've set the related records manually, instead of setting them
indirectly using the main record.
2. done.
which probably means that, indeed, the record class may need a
__destruct() to unset the related models & records it generates. :-|
anyway, nice that it worked.
-- rodrigo
More information about the Solar-talk
mailing list