Routine test failure

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Jan 15 16:37:57 UTC 2018


I'll try that out.

What's the test doing that requires so much time and memory?

-- Jon


On 1/15/18 3:55 AM, Jan Lahoda wrote:
> 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