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

[email protected]
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
> <tr><td class="e">memory_limit</td><td class="v">-1</td><td
> class="v">-1</td></tr>
> 
> 
> 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 [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

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 [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

Reply via email to