java.lang.OutOfMemoryError: Java heap space

GitHub | Danny-Hazelcast | 6 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.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at com.hazelcast.client.impl.protocol.ClientMessage.readFrom()
  2. com.hazelcast.client
    ClientMessageBuilder.onData
    1. com.hazelcast.client.impl.protocol.ClientMessage.readFrom(ClientMessage.java:343)
    2. com.hazelcast.client.impl.protocol.util.ClientMessageBuilder.onData(ClientMessageBuilder.java:45)
    2 frames
  3. Hazelcast
    ClientReadHandler.onRead
    1. com.hazelcast.nio.tcp.ClientReadHandler.onRead(ClientReadHandler.java:52)
    1 frame
  4. com.hazelcast.nio
    NonBlockingIOThread.run
    1. com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketReader.handle(NonBlockingSocketReader.java:159)
    2. com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKey(NonBlockingIOThread.java:345)
    3. com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.handleSelectionKeys(NonBlockingIOThread.java:330)
    4. com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.selectLoop(NonBlockingIOThread.java:248)
    5. com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.run(NonBlockingIOThread.java:201)
    5 frames