Hi everybody,
I've configured a pipeline for a Symfony app with PHP Unit tests and Behat tests.
In first place, when after having run composer install, I did following:
php bin/console cache:clear
In that step, I've got an error of Allowed memory. As I couldn't get rid off it, I removed cache:clear step temporaly.
But in further steps, when I prepare database in order to run behat tests, in fixtures loading, the Allowed Memory error came again.
Fatal error: Allowed memory size of 134217728 bytes exhausted
My pipeline is something like that:
The pipeline output is:
I've already raised the memory limit and step size (2x) as well as I've gave more memory to MySql docker service to 2GB (default was 1GB)
What can I do to solve that?
Thanks in advance
Greetings
By the way, I've workaround this adding additional param -d memory_limit=-1 in some places like:
- php -d memory_limit=-1 /usr/local/bin/composer install
- php -d memory_limit=-1 vendor/bin/phpunit
- php -d memory_limit=-1 vendor/bin/behat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.