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

Jaikiran Pai jpai at openjdk.java.net
Wed Nov 3 03:48:09 UTC 2021


On Tue, 2 Nov 2021 22:31:52 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> This request proposes to change the test to run in `othervm` mode.

test/jdk/java/nio/channels/Channels/TransferTo.java line 55:

> 53:  * @library /test/lib
> 54:  * @build jdk.test.lib.RandomFactory
> 55:  * @run testng/othervm TransferTo

Hello Brian, should this also perhaps set the `-Xmx` value to a higher value or is the current VM defaults for max heap size on all VMs expected to be big enough for this test?

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

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


More information about the nio-dev mailing list