[
https://issues.apache.org/jira/browse/CAMEL-6197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667420#comment-13667420
]
Seb C commented on CAMEL-6197:
------------------------------
Check https://github.com/calbazasebastian/camel/commits/sebi/6197_cometd_oom
The simplest solution is to disconnect the session that is created by the
producer... I added an isLocalSession check to close just the local ones as
these are lightweight objects and are not sweeped.
> Memory leak when using CometD producer
> --------------------------------------
>
> Key: CAMEL-6197
> URL: https://issues.apache.org/jira/browse/CAMEL-6197
> Project: Camel
> Issue Type: Bug
> Components: camel-cometd
> Affects Versions: 2.10.4
> Reporter: Seb C
> Priority: Critical
>
> We have an application that creates a lot of channels, resulting in a lot of
> producers with a Cometd local session attached. These local sessions just add
> up till we get a out of memory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira