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.