jamesnetherton opened a new issue, #7076:
URL: https://github.com/apache/camel-quarkus/issues/7076
I think this started happening since the project upgraded to Quarkus 3.19.x.
The `cxf-soap-grouped` native build occasionally runs out of memory on GitHub
CI.
Example failure from a few weeks ago:
```
=================================================================================-----------
[1/8] Initializing...
(9.0s @ 0.23GB)
Java version: 21.0.6+7-LTS, vendor version: Mandrel-23.1.6.0-Final
Graal compiler: optimization level: 2, target machine: x86-64-v3
C compiler: gcc (redhat, x86_64, 11.5.0)
Garbage collector: Serial GC (max heap size: 80% of RAM)
8 user-specific feature(s):
- com.oracle.svm.thirdparty.gson.GsonFeature
- io.quarkus.awt.runtime.graal.AwtFeature
- io.quarkus.awt.runtime.graal.DarwinAwtFeature
- io.quarkus.runner.Feature: Auto-generated class by Quarkus from the
existing extensions
- io.quarkus.runtime.graal.DisableLoggingFeature: Adapts logging during the
analysis phase
- io.quarkus.runtime.graal.SkipConsoleServiceProvidersFeature: Skip
unsupported console service providers when
quarkus.native.auto-service-loader-registration is false
- org.eclipse.angus.activation.nativeimage.AngusActivationFeature
- org.eclipse.angus.mail.nativeimage.AngusMailFeature
------------------------------------------------------------------------------------------------------------------------
5 experimental option(s) unlocked:
- '-H:+AllowFoldMethods' (origin(s): command line)
- '-H:BuildOutputJSONFile' (origin(s): command line)
- '-H:-UseServiceLoaderFeature' (origin(s): command line)
- '-H:AdditionalSecurityProviders' (origin(s): command line)
- '-H:+GenerateBuildArtifactsFile' (origin(s): command line)
------------------------------------------------------------------------------------------------------------------------
Build resources:
- 3.56GB of memory (22.8% of 15.62GB system memory, set via '-Xmx4g')
- 4 thread(s) (100.0% of 4 available processor(s), determined at start)
Terminating due to java.lang.OutOfMemoryError: Java heap space
The Native Image build process ran out of memory.
Please make sure your build system has more memory available.
```
Another
[instance](https://github.com/apache/camel-quarkus/actions/runs/13626718642/job/38086535244)
of it happening on the `quarkus-main` nightly build.
Not sure if something changed recently to trigger this and there's a genuine
issue to investigate. Or we just bump the `native-image-xmx` to fix it.
/CC @ppalaga.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]