RFR: 8276252: java/nio/channels/Channels/TransferTo.java failed with OOM java heap space error
Brian Burkhalter
bpb at openjdk.java.net
Wed Nov 3 16:54:26 UTC 2021
On Wed, 3 Nov 2021 16:49:09 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
>> The version of the test proposed here passes with the command line option `-Xmx512M`, so if the default maximum heap size is really half the physical memory then I don't think it is necessary to set `-Xmx`.
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6219
More information about the nio-dev
mailing list