Re: Memory Consumption of Associated Models?

2010-11-25 Thread odd
Sorry, i must have been blind. However, it shouldn't be that hard to write your own behaviour that back ups the original associations and manages binding/unbinding by simple identifiers. Regards O.J. Tibi schrieb: > Hi Odd, > > As I said earlier, the Containable behavior doesn't work for the > n

Re: Memory Consumption of Associated Models?

2010-11-25 Thread Vivi Vivi
Maybe this can help you, http://www.joelango.com/2007/04/30/why-you-should-never-use-select-star/ am I guess using load model and bind model on the fly will help you. On Thu, Nov 25, 2010 at 1:54 PM, O.J. Tibi wrote: > Hi Odd, > > As I said earlier, the Containable behavior doesn't work for the

Re: Memory Consumption of Associated Models?

2010-11-25 Thread O.J. Tibi
Hi Odd, As I said earlier, the Containable behavior doesn't work for the number of PHP objects (models) loaded in-memory, so no dice here. :) On Nov 25, 3:27 pm, odd wrote: > Give containable a try: > > http://book.cakephp.org/view/1323/Containable > > Regards Check out the new CakePHP Question

Re: Memory Consumption of Associated Models?

2010-11-25 Thread odd
Give containable a try: http://book.cakephp.org/view/1323/Containable Regards Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to

Memory Consumption of Associated Models?

2010-11-25 Thread O.J. Tibi
Hi all, I recently ran into a speedbump with our application. I have this model that has about 18 declared associations (excluding circular references/recursions generated by CakePHP). I noticed OOM errors happening on our test server and made some quick detective work on our models, which lead me