Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native build runs out of memory on GitHub actions when io.fabric8:openshift-client is on the classpath #5515

Closed
jamesnetherton opened this issue Nov 16, 2023 · 1 comment

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Since Quarkus 3.6.0.CR1, native builds with io.fabric8:openshift-client on the classpath run out of memory on GitHub actions.

  • camel-quarkus-integration-test-camel-k-runtime
  • camel-quarkus-integration-test-kubernetes
  • camel-quarkus-integration-test-master-openshift

There was a workaround implemented in the Quarkus test suite to exclude some problem dependencies and allow the native build to complete with a broken classpath:

quarkusio/quarkus#36312 (comment)

There's some more discussion on the topic here:

https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/kubernetes-client.20native.20build.20memory.20usage

I don't see too many options to fix it other than implementing the same workaround and maybe investigate reworking the camel-kubernetes component (I.e split it up or use some of the suggestions Marc mentions in the Zulip thread).

@jamesnetherton
Copy link
Contributor Author

Maybe something else we could try experimenting with, is adding an extra build step to use the MacOS runner. They have more memory, so we could dedicate that job to running memory hungry native builds.

jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Jan 17, 2024
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Jan 17, 2024
@github-actions github-actions bot added this to the 3.7.0 milestone Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant