Red Hat Fuse log:tail cause a java.lang.OutOfMemoryError: Java heap space

Solution Verified - Updated -

Issue

  • I am running a Camel route which logs a large body of text ~1MB in size, after using the log:tail command the container encounters the following error:
2.12.0.redhat-610379 | Error processing exchange. This exception will be ignored, to let the timer be able to trigger again.
java.lang.OutOfMemoryError: Java heap space
Exception in thread "pool-19-thread-1" java.lang.OutOfMemoryError: Java heap space

Environment

  • Red Hat Fuse 6.x
  • Camel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content