You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.