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

I run tests on pipeline and get this error, I added the php memory limit variable, it did not help

Maksim Vasilevich December 16, 2021

Screenshot - 2021-12-16T161435.199.png

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 3, 2022

Hi @Maksim Vasilevich ,

Welcome to the community!

Could you share with me your pipeline YAML script so I can review your build, please make sure to remove any unnecessary information or mask it before sharing.

Meantime, are you using composer? If yes by default, the PHP memory value is 128M, but the composer heavily relies on PHP memory and it needs more than 128M memory. 

A workaround on this issue is to raise the PHP memory usage, by adding this line to your build:

        script:
          - echo 'memory_limit = 3000;' >> /usr/local/etc/php/conf.d/docker-php-ext-gd.ini

Let me know how it goes.

Cheers,
Syahrul 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events