sometimes, bake used to create 'Parent' keys for associations. this name, when already existent, used to gives memory errors. I could work around by baking this model, changing do 'AnotherparentName' and continued baking happily ever after.
spark On Thu, Mar 6, 2008 at 11:09 PM, Vangel <[EMAIL PROTECTED]> wrote: > > I have noticed this happening when baking quite often. Reproducable if > you bake models or controllers when the model contains Data. > Especially large amount of data. I really dunno much about the cake > core to know the real reason. When using an empty database the problem > goes away. > I would suggest increasing the memory limit in you PHP CLI > configuration. In my setup, changing the regular php.ini also works. I > have set it to 24MB, seems to do the trick. > > > > On Mar 7, 7:42 am, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote: > > I lately am getting this: > > > > Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to > > allocate 2873212 bytes) in C:\Users\Aaron\workspace\cake\libs\cache > > \file.php on line 138 > > > > Is this a bug in Cake? > > > > I haven't been getting this before. Any ideas on how to prevent it? I > > would hope that I wouldn't have to keep upping the memory? > > > > -- [livesets] http://djspark.com.br/ [web] http://sydi.net [filmes] http://melhoresfilmes.com.br --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---