RFR: 8347126: gc/stress/TestStressG1Uncommit.java gets OOM-killed [v2]
Aleksey Shipilev
shade at openjdk.org
Wed Jan 8 09:20:16 UTC 2025
> One of my testing nodes caught the OOM kill for the VM carrying the test. The default configuration turns the VM that test runs as the driver into a memory hog. On 48-core / 64G machine, the test configured itself to take 13 workers each allocating 1G. This ballooned the heap size to 13G -- e.g. about 25% of host memory -- which is well beyond the usual footprint for a single test VM (~2GB). Naturally, this runs into a high chance of being OOM killed under high test parallelism.
>
> I think the solution is to cut down the heap size we run with, and balance the number of workers a bit more finely. I looked around at sibling tests and 1G seems to be a common heap size for these tests.
Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
Fix math
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22954/files
- new: https://git.openjdk.org/jdk/pull/22954/files/35e051ad..75eed4ed
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22954&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22954&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/22954.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22954/head:pull/22954
PR: https://git.openjdk.org/jdk/pull/22954
More information about the hotspot-gc-dev
mailing list