I try to install a package in Symfony 4 and I get an error message:
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 255
!!
!! // Clearing the cache for the dev environment with debug
!! // true
!!
!!
!! Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /Users/coding/myproject/vendor/twig/twig/src/Node/Expression/NameExpression.php on line 27
!!
!! Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in /Users/coding/myproject/vendor/symfony/var-dumper/Cloner/Data.php on line 321
!!
Script @auto-scripts was called via post-update-cmd
I tried to increase the memorey limit by updating my php.ini:
memory_limit = 2048M
But still I get the same error message
phpinfothat when you setmemory_limitit actually worked?php.inifile? There usually is one for CLI and one for webserversphp --iniand this file I changed. And it worked then