A few days ago, I started a new Symfony2 application and I had problems with the cache:
$ rm -rf ./app/cache/*
$ rm -rf ./app/logs/*
$ ./app/console cache:clear
Clearing the cache for the dev environment with debug true
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /Users/simonegentili/Development/Www/shop_website/vendor/twig/twig/lib/Twig/Node/Text.php on line 23
AND...
$ ./app/console cache:clear
works great.
source
share