java.lang.OutOfMemoryError: Java heap space

spark-user | Lei Lei2 Gu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Beeline exception when connecting to Spark 2.0 ThriftServer running on yarn

    spark-user | 8 months ago | Lei Lei2 Gu
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    hive jdbc connection giving out of memory error

    Stack Overflow | 4 years ago | user1943079
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.OutOfMemoryError: Java heap space with hive

    Stack Overflow | 2 years ago
    java.lang.OutOfMemoryError: Java heap space
  5. 0

    Out of memory error

    Google Groups | 5 years ago | Prakrati Agrawal
    java.lang.OutOfMemoryError: Java heap space

    3 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 org.apache.thrift.protocol.TBinaryProtocol.readStringBody()
    2. Apache Thrift
      TServiceClient.receiveBase
      1. org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:379)
      2. org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:230)
      3. org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
      3 frames
    3. org.apache.hive
      HiveDriver.connect
      1. org.apache.hive.service.cli.thrift.TCLIService$Client.recv_OpenSession(TCLIService.java:156)
      2. org.apache.hive.service.cli.thrift.TCLIService$Client.OpenSession(TCLIService.java:143)
      3. org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:583)
      4. org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:192)
      5. org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
      5 frames
    4. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:571)
      2. java.sql.DriverManager.getConnection(DriverManager.java:187)
      2 frames
    5. org.apache.hive
      BeeLine.close
      1. org.apache.hive.beeline.DatabaseConnection.connect(DatabaseConnection.java:142)
      2. org.apache.hive.beeline.DatabaseConnection.getConnection(DatabaseConnection.java:207)
      3. org.apache.hive.beeline.Commands.close(Commands.java:987)
      4. org.apache.hive.beeline.Commands.closeall(Commands.java:969)
      5. org.apache.hive.beeline.BeeLine.close(BeeLine.java:826)
      5 frames