Exhausting 16MB is not impossible. This topic has come up before. I leave you with this: Out of the Box, Wordpress uses 5 MB. I run a blog that tops out at 15MB with a nice size database and a ton of plugins.
So, for a project that actually DOES stuff, 16MB is simply not enough. On Thu, Mar 6, 2008 at 8: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? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
