[ 
https://issues.apache.org/jira/browse/CAMEL-8053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214405#comment-14214405
 ] 

Benjamin Graf commented on CAMEL-8053:
--------------------------------------

As far as I can remember there was a reference up to the BlueprintCamelContext 
in the heapDump. I can look back into it after I returned from holidays.

> Memory leak when adding/removing a lot of routes
> ------------------------------------------------
>
>                 Key: CAMEL-8053
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8053
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.14.0
>            Reporter: Benjamin Graf
>            Assignee: Willem Jiang
>
> Dynamically adding/removing routes to camel causes registrations in 
> org.apache.camel.builder.ErrorHandlerBuilderRef.handlers (Map<RouteContext, 
> ErrorHandlerBuilder>) for RouteContext instances. Those never get removed and 
> can cause leaks if memory consuming objects are attached in the RouteContext 
> for example constant definitions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to