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

Alan Bateman alanb at openjdk.java.net
Wed Nov 3 07:29:08 UTC 2021


On Wed, 3 Nov 2021 03:44:56 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> 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?

This may be helpful as this test needs to do some big transfer. For the specific OOME sighting then I suspect it may be more to do with how the tests are run. From what I can tell, it's running a very large group of tests and it's likely that the agent VM has been running for a long time. It could be that other tests that ran previously in this VM have left things behind.

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

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


More information about the nio-dev mailing list