On 6 Mar, 21:58, mark <[email protected]> wrote:
> Hi,
>
> I have a cakephp app that has started to throw a Fatal Memory
> allocation error. Strangely it only happens on the production server
> (Cpanel, php 5.2.12) but not on either dev machines (php 5.2.11). This
> is with CakePHP version 1.2.4.8284.
>
> It has only started recently, nothing in the script changed so I
> suspect it is a change to the hosting server, but I haven't traced it
> yet.
>
> The error comes right at the end of the script, after the </html> so
> looks like it might be related to cleanup.
> They all look like this, although some of the numbers change slightly:
>
>         Fatal error: Allowed memory size of 67108864 bytes exhausted
> (tried to allocate 432212624 bytes) in Unknown on line 0
>
> The server has a hard memory_limit of 64MB, so the memory_limit 128MB
> in app/webroot/test.php is ignored.
>
> I have no idea how to track this down and would be grateful for some
> suggestions.
>
> What I find very strange is that CakePHP should be trying to allocate
> 432MB as it is cleaning up and closing down. Seems very odd to me.
> Just increasing memory_limit is not possible (hard limit on server)
> and cannot be right as that would just cover something that surely
> shouldn't be happening.
>
> Thanks for your help
>
> Mark

No suggestions so far on this. Would more/other information be useful?

Thanks

Mark

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