RFR: 8276252: java/nio/channels/Channels/TransferTo.java failed with OOM java heap space error

Mark Sheppard msheppar at openjdk.java.net
Wed Nov 3 17:37:10 UTC 2021


On Wed, 3 Nov 2021 16:51:34 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> on the machine env where the failure has occurred we see that JVM has default heap size at 30GB and the machine has physical memory at 762GB
>
> So we would not expect an OOME for the test unless something else were gobbling up the heap memory.

I've just checked the jtreg parameters for vm options and the -Xmx512M is set for the test
also sets a I've just checked and the test is not run with default option, but with explicit setting of 512MB
a MAX_RAM_PERCENTAGE option

-vmoption:-XX:MaxRAMPercentage=$MAX_RAM_PERCENTAGE 

MAX_RAM_PERCENTAGE == 25/18 which rounds up to 1

-------------

PR: https://git.openjdk.java.net/jdk/pull/6219


More information about the nio-dev mailing list