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
8261505: Test test/hotspot/jtreg/gc/parallel/TestDynShrinkHeap.java killed by Linux OOM Killer #2507
Conversation
|
Hi Christoph, This looks good. The test is setting a 1GB max heap so it seems reasonable to require the system to have at least that. Another thing to look at when tests are getting killed by the OOM killer is the number of concurrent test jobs. For a system with 1GB of memory that should be 1, so in your case you can't go lower. To be certain you only run one test at a time you could run
The reason that the rerun succeeds is most likely because then you don't have the JTREG process running along side the test and consuming resources. |
@mychris This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 30 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kstefanj, @tschatzl) but any other Committer may sponsor as well.
|
Hi Stefan, thanks for the review. I am aware of the concurrency feature of the JTreg runner and am always using a concurrency of 1 on embedded devices. Even if they are more powerful, since it makes the test execution less reliable. I found some more tests with the same problem, but will file a single bug and fix all in one go, as soon as I have time for that. /integrate |
I'll wait for a second reviewer before sponsoring this, just in case anyone has a different view on how to handle this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm.
/sponsor |
@kstefanj @mychris Since your change was applied there have been 30 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit ebaa58d. |
On memory constrained devices, the test might get killed by the linux kernel OOM Killer.
Executing the test with the JTreg test harness makes the test fail and get killed by the OOM Killer.
Executing the test manually, by using the JTreg provided "rerun" command line, the test succeeds.
This happened on a Raspberry PI 2, which has only 1G of memory available.
I added an "os.maxMemory" requirement, so the test gets skipped.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2507/head:pull/2507
$ git checkout pull/2507