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

Let Maven and the JVM define memory usage based on cgroup or host #4668

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Mar 9, 2025

Nowadays, the JVM is able to determine the amount of memory when running in a container (if a limit is applied).

Since the infra provides 12 Gb of memory to each pod agents, it is worth using it.

As I can see in my attempts in #4667 , looks like the agents are using way more memory and less CPUs. That ought to be proved right in a real life bom build.

Capture d’écran 2025-03-09 à 21 05 05 Capture d’écran 2025-03-09 à 21 05 16

Nowadays, the JVM is able to determine the amount of memory when running in a container (if a limit is applied).

Since the infra provides 12 Gb of memory to each pod agents, it is worth using it.
@dduportal dduportal marked this pull request as ready for review March 9, 2025 21:32
@dduportal dduportal requested a review from a team as a code owner March 9, 2025 21:32
@dduportal dduportal merged commit 0b68c6e into master Mar 10, 2025
262 of 264 checks passed
@dduportal dduportal deleted the dduportal-patch-1 branch March 10, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants