Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Edited

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

1 answer

0 votes
Syahrul Atlassian Team Jan 03, 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
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

214 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you