Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Java Quarkus Native build - Build out of memory

Cedric De Pauw
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 19, 2021

Hi all,

In our project we are using Quarkus Java and using native builds with GraalVM. This uses quite a bit of memory, causing our pipeline to fail most of the time.

We're already using memory x2 and not using any services like Docker that eat away from our 8GB memory limit.

Questions:

  • Why does this fail most of the time, but not always?
  • Is there a way to fix this?

1 answer

1 accepted

1 vote
Answer accepted
Cedric De Pauw
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 20, 2021

We've found a workaround for now. It seems to be possible to set a limit on the memory that may be used during build via our pom.xml: 

image.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events