I am encoutering the following error with Symfony when trying to
php app/console cache:clear
or
php app/console cache:warmup
Fatal error: Allowed memory size of xxx bytes exhausted.
I already set memory limit to very large size 1024M, 2048M. I removed all twig templates from my project I unactivated vendors bundles leaving only FOSUSer and FOSRestBundle.
I am unable to track from where this error comes from.
Any idea?
Thanks
I get the following error
In the end, it was that little piece of code that was the problem:
# config.yml
...
twig:
paths:
"%kernel.root_dir%": app
Thanks guys for confirming me that it was Twig the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With