java.lang.OutOfMemoryError: Java heap space

GitHub | debasisj | 3 months ago
  1. 0

    java.lang.OutOfMemoryError: Java heap space

    GitHub | 3 months ago | debasisj
    java.lang.OutOfMemoryError: Java heap space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Java heap space with GSON

    Stack Overflow | 4 years ago | mram888
    java.lang.OutOfMemoryError: Java heap space

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.util.Arrays.copyOf()
    2. Java RT
      StringWriter.write
      1. java.util.Arrays.copyOf(Unknown Source)
      2. java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
      3. java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
      4. java.lang.AbstractStringBuilder.append(Unknown Source)
      5. java.lang.StringBuffer.append(Unknown Source)
      6. java.io.StringWriter.write(Unknown Source)
      6 frames
    3. Gson
      JsonElement.toString
      1. com.google.gson.stream.JsonWriter.string(JsonWriter.java:561)
      2. com.google.gson.stream.JsonWriter.value(JsonWriter.java:419)
      3. com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:690)
      4. com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:704)
      5. com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:642)
      6. com.google.gson.internal.Streams.write(Streams.java:68)
      7. com.google.gson.JsonElement.toString(JsonElement.java:324)
      7 frames
    4. Java RT
      String.valueOf
      1. java.lang.String.valueOf(Unknown Source)
      1 frame
    5. Selenium
      JsonHttpCommandCodec.decode
      1. org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:89)
      2. org.openqa.selenium.remote.JsonToBeanConverter.convertMap(JsonToBeanConverter.java:344)
      3. org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:215)
      4. org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:43)
      5. org.openqa.selenium.remote.http.JsonHttpCommandCodec.decode(JsonHttpCommandCodec.java:274)
      5 frames
    6. selenium-server
      DriverServlet.doPost
      1. org.openqa.selenium.remote.server.JsonHttpCommandHandler.handleRequest(JsonHttpCommandHandler.java:74)
      2. org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:204)
      3. org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:166)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      1 frame
    8. selenium-server
      DriverServlet.service
      1. org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:132)
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    10. selenium-jetty-rc-repacked
      HttpConnection.service
      1. org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
      2. org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:680)
      3. org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:571)
      4. org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526)
      5. org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479)
      6. org.openqa.jetty.http.HttpServer.service(HttpServer.java:920)
      7. org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)
      7 frames