Closed
Description
Describe the issue
Our CLI native-image is failing when there is less than 32 GB of virtual memory
Steps to reproduce the issue
Please include both build steps as well as run steps
- Download https://github.com/seqeralabs/wave-cli/releases/download/v1.2.0/wave-1.2.0-linux-x86_64
- run: (ulimit -v 33603487; ./wave-1.2.0-linux-x86_64 --version)
Describe GraalVM and your environment:
- GraalVM version : graalvm-jdk-21.0.2+13.1
- JDK major version: 21
- OS: Ubuntu 22.04.1
- Architecture: AMD64
More details
Build logs:
https://github.com/seqeralabs/wave-cli/actions/runs/8005072271/job/21863704006
Source code of application:
https://github.com/seqeralabs/wave-cli/
we have already set the heap size:
https://github.com/seqeralabs/wave-cli/blob/b47f31f54c64aa8d1f1b2d1d20443d939e3c9eee/app/build.gradle#L86-L89
Error:
~$ (ulimit -v 33603487; ./wave-1.2.0-linux-x86_64 --version)
Fatal error: Failed to create the main Isolate. (code 801)
~$ (ulimit -v 33603488; ./wave-1.2.0-linux-x86_64 --version)
1.2.0_b47f31f