[development] allowed memory size exhausted
zareef at zareef.net
Fri Jan 14 13:14:10 UTC 2011
I believe you got the message .. as some sentence were not in flow due to my
fast typing .. :)
On Fri, Jan 14, 2011 at 6:39 PM, Zareef Ahmed <zareef at zareef.net> wrote:
> To debug why your code is requesting this kind of memory you can try
> following steps.
> 1. First increase the memory in your ini SO you can get rid of this memory
> allocation error, you can try to increase this to around 1 GB or something
> similar (depends how much memory you have on your machine)... If even
> increasing memory upto that HUGE level does not help you, then something is
> really really WRONG with your setup, which need to be looked upon within
> code for some loops or something like that.
> 2. If you are able to run your application by increasing Memory, please
> install APD on your server. see http://in.php.net/apd
> Use APD to track which functions are taking more memory to debug your
> Also check if problem is new on this server and application runs fine or
> other machine with different version of PHP, in some recent versions of PHP
> few functions behavior has been changed due to which few scripts or older
> module behave in unexpected way..
> Thanks and Regards
> Zareef Ahmed
> On Fri, Jan 14, 2011 at 7:12 PM, Pierre Rineau <
> pierre.rineau at makina-corpus.com> wrote:
>> > [Fri Jan 14 11:02:21 2011] [error] [client 220.127.116.11] PHP Fatal error:
>> > Allowed memory size of 335544320 bytes exhausted (tried to allocate
>> > 22175001 bytes) in /var/www/abc/includes/database.mysql-common.inc on
>> > line 34
>> Did you really allowed 320M of memory for PHP scripts execution or I
>> This is howfully huge!
>> What are you trying to do here that could consume something like 10
>> times the "normal" drupal memory consumption?
> Zareef Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development