You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Benjamin Graf (JIRA)" <ji...@apache.org> on 2014/11/18 18:01:34 UTC

[jira] [Updated] (CAMEL-8053) Memory leak when adding/removing a lot of routes

     [ 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

Testcase to reproduce leaking error

> 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)