[
https://issues.apache.org/jira/browse/CAMEL-8053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-8053.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.13.4
2.15.0
2.14.1
Applied the patch into camel master, camel-2.14.x and camel-2.13.x branches.
> 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
> Fix For: 2.14.1, 2.15.0, 2.13.4
>
> 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)