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

Add an option to print the java memory before/after mojo execution #4529

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Dec 16, 2024

To help identify possible leaks

@laeubi laeubi added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Dec 16, 2024
@laeubi laeubi enabled auto-merge (rebase) December 16, 2024 05:47
@merks
Copy link
Contributor

merks commented Dec 16, 2024

Given that it appears the OS (Jenkins) is killing processes, might it be helpful to have some way to force garbage collection?

@laeubi
Copy link
Member Author

laeubi commented Dec 16, 2024

I fear for killing the agent a GC does not help because the JVM will not really "free" the memory on OS level, but this is mainly to understand if/where memory is used if we see OOM Exceptions in builds.

@merks
Copy link
Contributor

merks commented Dec 16, 2024

I see.

Copy link

Test Results

  603 files    603 suites   4h 17m 6s ⏱️
  431 tests   423 ✅  7 💤 1 ❌
1 293 runs  1 270 ✅ 22 💤 1 ❌

For more details on these failures, see this check.

Results for commit 2d8a63f.

@laeubi laeubi merged commit d823700 into eclipse-tycho:main Dec 16, 2024
13 of 15 checks passed
@eclipse-tycho-bot
Copy link

💚 All backports created successfully

Status Branch Result
tycho-4.0.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants