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.

  • Getting "Java heap space" error with Selenium 3.0.1
    via by Pragnya Sahoo,
  • Java heap space with GSON
    via Stack Overflow by mram888
    ,
  • GitHub comment 7#6909024
    via GitHub by Mtihc
    ,
  • GitHub comment 7#6833853
    via GitHub by Nicklander
    ,
    • java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuffer.append(Unknown Source) at java.io.StringWriter.write(Unknown Source) at com.google.gson.stream.JsonWriter.string(JsonWriter.java:561) at com.google.gson.stream.JsonWriter.value(JsonWriter.java:419) at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:690) at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:704) at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:642) at com.google.gson.internal.Streams.write(Streams.java:68) at com.google.gson.JsonElement.toString(JsonElement.java:324) at java.lang.String.valueOf(Unknown Source) at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:89) at org.openqa.selenium.remote.JsonToBeanConverter.convertMap(JsonToBeanConverter.java:344) at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:215) at org.openqa.selenium.remote.JsonToBeanConverter.convert(JsonToBeanConverter.java:43) at org.openqa.selenium.remote.http.JsonHttpCommandCodec.decode(JsonHttpCommandCodec.java:274) at org.openqa.selenium.remote.server.JsonHttpCommandHandler.handleRequest(JsonHttpCommandHandler.java:74) at org.openqa.selenium.remote.server.DriverServlet.handleRequest(DriverServlet.java:204) at org.openqa.selenium.remote.server.DriverServlet.doPost(DriverServlet.java:166) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.openqa.selenium.remote.server.DriverServlet.service(DriverServlet.java:132) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.openqa.jetty.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.openqa.jetty.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:680) at org.openqa.jetty.jetty.servlet.ServletHandler.handle(ServletHandler.java:571) at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1526) at org.openqa.jetty.http.HttpContext.handle(HttpContext.java:1479) at org.openqa.jetty.http.HttpServer.service(HttpServer.java:920) at org.openqa.jetty.http.HttpConnection.service(HttpConnection.java:820)

    Users with the same issue

    Andreas Häber
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    56 more bugmates