java.lang.OutOfMemoryError: Java heap space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips


The heap space allocated to the Cassandra node ran out due to high load and low memory allocation. The surefire solution is to increase the amount of RAM given to the Cassandra process (determined by the launcher script and the total memory in the system).

Solutions on the web

via Terracotta by jcnachor, 1 year ago
via Google Groups by Paul, 5 months ago
via Google Groups by wezzax, 5 months ago
via Stack Overflow by rohitmohta
, 2 months ago
via by Unknown author, 2 years ago
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.(
at java.nio.ByteBuffer.allocate(
at com.terracottatech.offheapstore.paging.OffHeapStorageArea.readBuffer(
at com.terracottatech.offheapstore.pinning.CompoundPinnableStorageEngine.readValue(
at com.terracottatech.frs.object.AbstractObjectManagerStripe.getLowestLsn(
at com.terracottatech.frs.object.AbstractObjectManager.getLowestLsn(
at com.terracottatech.frs.compaction.CompactorImpl$

Users with the same issue

15 times, 2 months ago
Once, 3 months ago
Once, 3 months ago
3 times, 9 months ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.