Monday, January 6, 2014

Re: Annoying memory exhausted error

It's possible if you inherited this project the previous developer made a huge mess with the queries, it may be executing lots of them when you try to access it, and exhausting the allowed memory size set in your config.

If this is a local / staging installation you could try increasing the PHP memory limit until you get it to load, then you can start looking at some of the queries being executed and work on re factoring them. This is just a guess, it may be something else, but something is process intensive on there and exceeding the limit.

Cheers
 Stephen

On 6 January 2014 14:06, Folken Fanel <folken.max@gmail.com> wrote:
Hello. I'm new to Cake PHP. I inherited a Cake PHP 1.3 project and some bizarre errors are occurring. 
Dont matter what error, issue, problem, I always got the message "Allowed memory size of XXXXX bytes exhausted".
I can't find the problem because I can't see the real message error.

Someone can help me, please?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.



--
Kind Regards
 Stephen Speakman

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: