Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,632
Community Members
 
Community Events
185
Community Groups

Pipeline: Got Fatal error by Allowed memory size

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:

image.png

The pipeline output is:

image.png

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

1 answer

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events