Out of memory exception with GraalVM native-image build

I am trying to build a JavaFX mobile application for Android via the GluonHQ JavaFX toolchain. This uses GraalVM native-image internally to create the Android executable. This attempt fails due to an out of memory exception. Native-image is known for needing a lot of runtime memory and according to my experience the available 7 GB of RAM for a Linux runner are simply not enough for a large application. I would like to know whether there is any possibility to increase the amount of RAM to about twice that size. I wouldn’t like to resort to a custom self-hosted runner just for that.