Probable memory leak in camel route with mock component.

Solution Verified - Updated -

Issue

  • We see continuous increase in JVM Heap memory over few days in Fuse. Currently max heap configured is 6 GB and within 3 to 4 days it crosses 4 GB.As per advise from Red Hat we included mock end point as mentioned below
                                from(panService)
                                                                .threads(50, 100)
                                                                .process(panProcessor)
                                                                .to("mock:end");
  • Now Red Hat team is suggesting to change to below to resolve the JVM heap issue
                                              from(panService)
                                                                .threads(50, 100)
                                                                .process(panProcessor);
  • I am looking for definitive response from Red Hat on whether this change will help resolve the issue. Let me know what details you will need to investigate further.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1
    • 7

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