[
https://issues.apache.org/jira/browse/CAMEL-8053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Graf updated CAMEL-8053:
---------------------------------
Attachment: testcase.zip
> 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
> Attachments: testcase.zip
>
>
> 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)