java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This failure happens once in PIT on Windows-x86 VM options : -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+IgnoreUnrecognizedVMOptions -XX:+DeoptimizeALot #section:main ----------messages:(4/464)---------- command: main -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-CompactStrings -XX:-UseG1GC -XX:+UseParallelGC compiler.stringopts.TestStringObjectInitialization reason: User specified action: run main/othervm/timeout=300 -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:-CompactStrings -XX:-UseG1GC -XX:+UseParallelGC compiler.stringopts.TestStringObjectInitialization Mode: othervm [/othervm specified] elapsed time (seconds): 336.474 ----------configuration:(0/0)---------- ----------System.out:(0/0)---------- ----------System.err:(16/1357)---------- java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(java.base@9-internal/Arrays.java:3744) at java.lang.AbstractStringBuilder.ensureCapacityInternal(java.base@9-internal/AbstractStringBuilder.java:146) at java.lang.AbstractStringBuilder.append(java.base@9-internal/AbstractStringBuilder.java:510) at java.lang.StringBuilder.append(java.base@9-internal/StringBuilder.java:141) at compiler.stringopts.TestStringObjectInitialization.add(TestStringObjectInitialization.java:62) at compiler.stringopts.TestStringObjectInitialization.run(TestStringObjectInitialization.java:67) at compiler.stringopts.TestStringObjectInitialization$Runner.run(TestStringObjectInitialization.java:80) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) java.lang.OutOfMemoryError: Java heap space at compiler.stringopts.TestStringObjectInitialization.add(TestStringObjectInitialization.java:62) at compiler.stringopts.TestStringObjectInitialization.run(TestStringObjectInitialization.java:67) at compiler.stringopts.TestStringObjectInitialization$Runner.run(TestStringObjectInitialization.java:80) at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
    via by Tatiana Pivovarova,
    • java.lang.OutOfMemoryError: Java heap space at compiler.stringopts.TestStringObjectInitialization.add(TestStringObjectInitialization.java:62) at compiler.stringopts.TestStringObjectInitialization.run(TestStringObjectInitialization.java:67) at compiler.stringopts.TestStringObjectInitialization$Runner.run(TestStringObjectInitialization.java:80)
    No Bugmate found.