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.

  • Kamon and Akka 2.4
    via by Richard Rodseth,
  • GitHub comment 112#255608573
    via GitHub by ashawley
    ,
  • I am using Jnekins to 1.615 and Dry-plugin 2.41 to display copy-paste-duplicate results from PMD tool. But Jenkins is getting hung with the below error. Exception in thread "Ping thread for channel hudson.remoting.Channel@6f4dbda2:tools" Exception in thread "Channel reader thread: vagrant_buildserver" Exception in thread "Ping thread for channel hudson.remoting.Channel@1d1c75d:xxxxx" Exception in thread "Thread-5" Exception in thread "Ping thread for channel hudson.remoting.Channel@16e7ae76:vagrant_tibi" Exception in thread "Ping thread for channel hudson.remoting.Channel@5d6577bf:InV_CI" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68) at java.lang.StringBuffer.<init>(StringBuffer.java:116) java.lang.OutOfMemoryError: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOf(Arrays.java:3332) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421) at java.lang.StringBuilder.append(StringBuilder.java:136) at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:278) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:693) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:489) at java.lang.Thread.run(Thread.java:745)
    via by Debashis Prusty,
  • I am using Jnekins to 1.615 and Dry-plugin 2.41 to display copy-paste-duplicate results from PMD tool. But Jenkins is getting hung with the below error. Exception in thread "Ping thread for channel hudson.remoting.Channel@6f4dbda2:tools" Exception in thread "Channel reader thread: vagrant_buildserver" Exception in thread "Ping thread for channel hudson.remoting.Channel@1d1c75d:xxxxx" Exception in thread "Thread-5" Exception in thread "Ping thread for channel hudson.remoting.Channel@16e7ae76:vagrant_tibi" Exception in thread "Ping thread for channel hudson.remoting.Channel@5d6577bf:InV_CI" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68) at java.lang.StringBuffer.<init>(StringBuffer.java:116) java.lang.OutOfMemoryError: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOf(Arrays.java:3332) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421) at java.lang.StringBuilder.append(StringBuilder.java:136) at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:278) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:693) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:489) at java.lang.Thread.run(Thread.java:745)
    via by Debashis Prusty,
  • Logger blew up under load
    via GitHub by dsyer
    ,
    • java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOf(Arrays.java:3332) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421) at java.lang.StringBuilder.append(StringBuilder.java:136) at scala.collection.mutable.StringBuilder.append(StringBuilder.scala:200) at akka.event.LoggingReceive.isDefinedAt(LoggingReceive.scala:56) at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123) at akka.event.LoggingReceive.applyOrElse(LoggingReceive.scala:50) at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170) at akka.actor.Actor$class.aroundReceive(Actor.scala:480) at com.gridpoint.energy.alarms.actors.AlarmContext.aroundReceive(AlarmContext.scala:103) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:525) at akka.actor.ActorCell.invoke_aroundBody0(ActorCell.scala:494) at akka.actor.ActorCell$AjcClosure1.run(ActorCell.scala:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at akka.kamon.instrumentation.ActorCellInstrumentation$$anonfun$aroundBehaviourInvoke$1.apply(ActorCellInstrumentation.scala:63) at kamon.trace.Tracer$.withContext(TracerModule.scala:53) at akka.kamon.instrumentation.ActorCellInstrumentation.aroundBehaviourInvoke(ActorCellInstrumentation.scala:62) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

    Users with the same issue

    Unknown visitor2 times, last one,
    sunils
    1 times, last one,
    Tahir
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    57 more bugmates