java.lang.OutOfMemoryError: Java heap space

GitHub | penuel-leo | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    bolt execute error,OutOfMemoryError 堆栈递归打印报错

    GitHub | 6 months ago | penuel-leo
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.util.Arrays.copyOf()
    2. Java RT
      Throwable.printEnclosedStackTrace
      1. java.util.Arrays.copyOf(Arrays.java:2367)
      2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
      3. java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
      4. java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
      5. java.lang.StringBuffer.append(StringBuffer.java:237)
      6. java.io.StringWriter.write(StringWriter.java:112)
      7. java.io.PrintWriter.write(PrintWriter.java:456)
      8. java.io.PrintWriter.write(PrintWriter.java:473)
      9. java.io.PrintWriter.print(PrintWriter.java:603)
      10. java.io.PrintWriter.println(PrintWriter.java:756)
      11. java.lang.Throwable$WrappedPrintWriter.println(Throwable.java:764)
      12. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:697)
      13. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      14. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      15. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      16. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      17. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      18. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      19. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      20. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      21. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      22. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      23. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      24. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      25. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      26. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      27. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      28. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      29. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      30. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      31. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      32. java.lang.Throwable.printEnclosedStackTrace(Throwable.java:709)
      32 frames