Luigi De Masi created CAMEL-14432:
-------------------------------------
Summary: Memory leak when toD is used with cacheSize < 0
Key: CAMEL-14432
URL: https://issues.apache.org/jira/browse/CAMEL-14432
Project: Camel
Issue Type: Bug
Components: came-core
Affects Versions: 2.24.3
Reporter: Luigi De Masi
Assignee: Luigi De Masi
Fix For: 2.25.0
Attachments: camel-salesforce-upstream.zip
Only Camel 2.X is affected by this issue.
When toD EIP is used and producer cache is disabled, producers' stop method is
not invoked after the process method executed. This could lead to a memory leak
for some components.
To reproduce this issue, configure the salesforce credentials in
application.properties and start the camel route of the attached reproducer.
run the following commad:
{{PID=$(ps aux | grep CamelSalesforceExample | grep -v grep | awk '\{print
$2}'); jcmd ${PID} GC.run; jmap -histo ${PID} | grep DefaultRest}}
The route invokes the producer endpoint 5 times, 5 DefaultRestClient objects
are still remained in the heap
--
This message was sent by Atlassian Jira
(v8.3.4#803005)