Routine test failure

Jan Lahoda jan.lahoda at oracle.com
Mon Jan 15 11:55:48 UTC 2018


So, would something like the following work?
------------
diff -r d16ebd094618 
test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java
--- 
a/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java 
     Thu Jan 11 16:22:50 2018 +0100
+++ 
b/test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java 
     Mon Jan 15 12:53:11 2018 +0100
@@ -30,7 +30,7 @@
   *          jdk.compiler/com.sun.tools.javac.main
   *          jdk.compiler/jdk.internal.shellsupport.doc
   * @build toolbox.ToolBox toolbox.JarTask toolbox.JavacTask
- * @run testng/timeout=900/othervm JavadocHelperTest
+ * @run testng/timeout=900/othervm -Xmx1024m JavadocHelperTest 
 
 

   */ 
 
 

 
 
 

  import java.io.IOException; 
 
 

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

Jan


On 2.1.2018 22:34, Jonathan Gibbons wrote:
> Kulla folk,
>
> When I run the following test locally, it routinely fails with an Out Of
> Memory error.
> test/langtools/jdk/internal/shellsupport/doc/JavadocHelperTest.java
>
> STDOUT:
> [TestNG] Running:
>    jdk/internal/shellsupport/doc/JavadocHelperTest.java
>
> test JavadocHelperTest.testAllDocs(): failure
> java.lang.OutOfMemoryError: Java heap space: failed reallocation of
> scalar replaced objects
>
>
> Should it have some custom configuration to ensure it has enough memory?
>
> -- Jon
>
>


More information about the kulla-dev mailing list