quarkusgraalvm-native-imagequarkus-native

How to define Quarkus Heap Space Size


I have a Quarkus application that transforms large sets of data. At some point I always get an Out Of Memory Exception. I think when I am running the application in "Java Mode" the JVM xmx flag should work to give Quarkus more memory. Is that correct?

How can I set the memory of the application when running as native image?


Solution

  • When running the native binary, -Xmx is used the same way as in JVM mode.

    See this for more details.