Closed
Description
Describe the problem
We are using AWS Codebuild to make native image using with graalvm-ce-java17-22.3.2
. CodeBuild runs on ubuntu compute type general1.large
, which has 8 vcpu and 15 GB of memory.
./gradlew nativeCompile
We tried to move to new graalvm version 17.0.8, downloading from site. After running the build, it failed with exit code 137. As I saw it's due to OutOfMemory.
We also tested same build on desktop pc and build memory usage exceeded 17GB.
Can you help with this issue?
Also, build generates libawt.so and other libraries in output
We use AWT to generate image in our app, it fails with java.home property not set
as shown in [native-image] java.home property not set
System Info (please complete the following information):
- OS: [e.g.
Ubuntu 22.04.3 LTS
] - GraalVM Version [e.g.
17.0.8+9.1 (build 17.0.8+9-LTS-jvmci-23.0-b14)
] - Java Version [e.g.
17
] - Plugin version [e.g.
native-gradle-plugin:0.9.25
]