Re: Fatal error: Allowed memory size of 16777216 bytes exhausted
This happened with me on the local windows server while testing,
didn't really see the problem up on my live one.
Anyway if u have access to the PHP.INI file you can just go there and
edit the "memory_limit = 16M" value to something like "memory_limit =
50M". I had this set to 150MB and it didn't affect the computer
stability so go up until it's sufficient for you app to run. (You need
to restart your server after changing this value for the new settings
to take effect)
If this is not a convenient solution try setting the debug to 0 and
the "var $persistModel = false;" in your controllers. That should
save up some of the memory space I believe.
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 this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home