GC OutOfMemoryError

Error:

via
[{:type java.lang.OutOfMemoryError
:message GC overhead limit exceeded
:at [java.io.ObjectInputStream defaultReadFields ObjectInputStream.java 2426]}]

Solution:

  • This is usually due to the JVM. It does not have enough memory to use the Garbage Collection properly

  • The easiest solution would be to increase the JVM RAM

# Open File
vim /etc/datastax-agent/datastax-agent-env.sh
  • Modify JVM_OPTS parameter

JVM_OPTS=-Xmx4096M

Last updated