Re: Fatal error: Out of memory - Even when there is no memory limit
i had faced it and it was more of while parsing large xml files to display our data..faced this same error...so it is something got to do with your controller consuming memory or hitting a roadblock where memory is being consumed.u need to debug to find out whereuse the memory code snippet to know the memory usage too while debugging On Oct 5, 8:28 pm, Fuitad wrote: > Hello, > > I'm in charge of transferring a live CakePHP application from one > server to another. I'm trying to get the new site to work but I'm > hitting a weird error and I just can't figure it out. > > When I try to load the main page, I get this: > > Fatal error: Out of memory (allocated 13631488) (tried to allocate > 8192 bytes) in /home/haakqsm/public_html/app/views/nodes/display.ctp > on line 1 > > The problem is, this error happens no matter what memory_limit is. For > example, it's set to -1 right now. > > php -i | grep memory > memory_limit-1 class="v">-1 > > Does anybody have any clue what could be the issue here? Both servers > (the live one and the new one) have the same php modules installed and > the same php.ini. > > > > Server Info: > > CentOS release 5.5 (Final) > Kernel Information: Linux 2.6.18-194.11.4.el5xen x86_64 > GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) > Copyright (C) 2005 Free Software Foundation, Inc. > > # php -v > PHP 5.2.14 (cgi) (built: Sep 30 2010 11:08:48) > Copyright (c) 1997-2010 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies > with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by > ionCube Ltd. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Fatal error: Out of memory - Even when there is no memory limit
when you do phpinfo() from inside that view, does it still show -1 for memory limit? On Oct 5, 11:28 am, Fuitad wrote: > Hello, > > I'm in charge of transferring a live CakePHP application from one > server to another. I'm trying to get the new site to work but I'm > hitting a weird error and I just can't figure it out. > > When I try to load the main page, I get this: > > Fatal error: Out of memory (allocated 13631488) (tried to allocate > 8192 bytes) in /home/haakqsm/public_html/app/views/nodes/display.ctp > on line 1 > > The problem is, this error happens no matter what memory_limit is. For > example, it's set to -1 right now. > > php -i | grep memory > memory_limit-1 class="v">-1 > > Does anybody have any clue what could be the issue here? Both servers > (the live one and the new one) have the same php modules installed and > the same php.ini. > > > > Server Info: > > CentOS release 5.5 (Final) > Kernel Information: Linux 2.6.18-194.11.4.el5xen x86_64 > GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) > Copyright (C) 2005 Free Software Foundation, Inc. > > # php -v > PHP 5.2.14 (cgi) (built: Sep 30 2010 11:08:48) > Copyright (c) 1997-2010 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies > with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by > ionCube Ltd. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Fatal error: Out of memory - Even when there is no memory limit
It looks like you have some sort of loop in your code, or your query is returning far too much data. Try putting some debug statements into the display action of your nodes_controller before rendering the view to see what's happening. Maybe there are some code and/or database differences between the servers. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 5 Oct 2010, at 16:28, Fuitad wrote: > Hello, > > I'm in charge of transferring a live CakePHP application from one > server to another. I'm trying to get the new site to work but I'm > hitting a weird error and I just can't figure it out. > > When I try to load the main page, I get this: > > Fatal error: Out of memory (allocated 13631488) (tried to allocate > 8192 bytes) in /home/haakqsm/public_html/app/views/nodes/display.ctp > on line 1 > > The problem is, this error happens no matter what memory_limit is. For > example, it's set to -1 right now. > > php -i | grep memory > memory_limit-1 class="v">-1 > > > Does anybody have any clue what could be the issue here? Both servers > (the live one and the new one) have the same php modules installed and > the same php.ini. > > > > Server Info: > > CentOS release 5.5 (Final) > Kernel Information: Linux 2.6.18-194.11.4.el5xen x86_64 > GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) > Copyright (C) 2005 Free Software Foundation, Inc. > > # php -v > PHP 5.2.14 (cgi) (built: Sep 30 2010 11:08:48) > Copyright (c) 1997-2010 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies >with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by > ionCube Ltd. > > 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+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Fatal error: Out of memory - Even when there is no memory limit
Hello, I'm in charge of transferring a live CakePHP application from one server to another. I'm trying to get the new site to work but I'm hitting a weird error and I just can't figure it out. When I try to load the main page, I get this: Fatal error: Out of memory (allocated 13631488) (tried to allocate 8192 bytes) in /home/haakqsm/public_html/app/views/nodes/display.ctp on line 1 The problem is, this error happens no matter what memory_limit is. For example, it's set to -1 right now. php -i | grep memory memory_limit-1-1 Does anybody have any clue what could be the issue here? Both servers (the live one and the new one) have the same php modules installed and the same php.ini. Server Info: CentOS release 5.5 (Final) Kernel Information: Linux 2.6.18-194.11.4.el5xen x86_64 GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc. # php -v PHP 5.2.14 (cgi) (built: Sep 30 2010 11:08:48) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en