[development] drupal php requirement : more than 8 Mb now?

Gerhard Killesreiter gerhard at killesreiter.de
Tue Dec 13 17:07:10 UTC 2005


Dries Buytaert wrote:

> Hi Christophe,
>
> On 13 Dec 2005, at 12:13, Christophe Chisogne wrote:
>
>> I had a strange problem while importing a new po file in drupal  
>> 4.6.4/5.
>> Finally, I found the solution [3] : memory_limit should be higher  
>> than 8Mb.
>
>
> instead of increasing the memory limit, I'd like to see us  
> investigate how we can reduce the memory requirements of the locale  
> module's parser.
>
> I haven't looked at the code, but using explicit unset()s might be  
> enough to reduce memory usage.  Unsetting a variable will free its  
> memory!


Won't help in this case. The whole PO file is parsed into a huge array 
and then postprocessed to upload the single translations.

Cheers,
    Gerhard, with enough memory.


More information about the development mailing list