Few days ago I started a new Symfony2 application and I get some troubles with 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 --env=prod
works fine.
rm -rf app/cache/*
work for you? Also you might want to open up a bug report on the Symfony GitHub page. – Papillose