[support] Weird Memory Issue on an Install

Pierre Rineau pierre.rineau at makina-corpus.com
Sun Feb 28 11:06:07 UTC 2010


On Sat, 2010-02-27 at 23:24 -0500, Shai Gluskin wrote:
> When I clear cache via Drush, I get a memory error:
> 
> 
>                 Fatal error: Allowed memory size of 33554432 bytes
>                 exhausted (tried to allocate 19456 bytes)
>                 in /dev/sites/all/modules/better_formats/better_formats.install on line 99

Drush uses the PHP CLI ini file, not your vhost one, which could explain
why the site can't do the cache clear but not Drush, you have to raise
the PHP CLI memory limit, not the vhost one.

Lots of linux distributions comes with a very tiny PHP CLI memory limit.

Pierre.




More information about the support mailing list