RFR (XS): OutOfMemoryError when running jdk/internal/shellsupport/doc/JavadocHelperTest.java (original) (raw)

B. Blaser bsrbnd at gmail.com
Wed May 30 13:53:22 UTC 2018


Hi,

When running tier1 like this:

$ make run-test-tier1

I get only one failing test due to an OutOfMemoryError because it exceeds the default 512Mb limit [1].

One way to solve this problem is to disable the memory limit when running the tests with JTREG="MAX_MEM=0", but I guess this would be more convenient to increase the memory limit of this sole test with '-Xmx1G', as below.

Any comment is welcome.

Cheers, Bernard

[1] http://hg.openjdk.java.net/jdk/jdk/file/02934b0d661b/doc/testing.md#l206

diff --git a/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java b/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java --- a/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java +++ b/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java @@ -30,7 +30,7 @@

import java.io.IOException;



More information about the compiler-dev mailing list