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
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
I am writing this post to see what configuration would be best for our native Quarkus builds. As I have seen in other posts, I need a lot of RAM, so I am trying to configure the step with 8GB (2x) and applying a 5g configuration when compiling natively (now I have it at 4g -Dquarkus.native.native-image-xmx=4g because otherwise it fails). Thank you very much
- step: &build-docker
name: Build Docker Image
- ./mvnw package -Pnative -Dmaven.test.skip -Dquarkus.native.native-image-xmx=4g
- docker build -f src/main/docker/Dockerfile.native -t ****:$BITBUCKET_BUILD_NUMBER .
- docker save --output ****.docker ****:$BITBUCKET_BUILD_NUMBER
- step: &push-docker-pre
name: Push Docker Image
- docker load --input ./****.docker
- step: *build-docker
- step: *push-docker-pre
- step: *build-docker
Hello @Francisco Gil A ,
Welcome to Atlassian Community!
I can't tell specifically for Quarkus what are the memory requirements, but with respect to pipelines, when running your builds in bitbucket pipelines infrastructure each step will run in a separate container that has 4 GB of memory available, and this can be increased to 8GB by using the size: 2x attribute when defining the step.
In case you need more than 8GB of memory, you have the option to run your build in your own infrastructure by using self-hosted runners. With runners you can configure the step size to be 2x (8GB), 4x (16GB), and up to 8x (32GB). Please note that the machine where you are executing the runner needs to have this memory available to be used. Also, since runners run in your own infrastructure, the steps that use runners will not be counted against your build minutes quota.
Hope that helps to clarify your questions!
Thank you, @Francisco Gil A .