camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-1138) Memory leak in FileConsumer
Date Wed, 03 Dec 2008 08:32:05 GMT


Claus Ibsen commented on CAMEL-1138:

D:\project\camel-1x\camel-core>svn commit --message "CAMEL-1138: Quick fix for file consumer
not freeing memory"
Sending        camel-core\src\main\java\org\apache\camel\component\file\
Transmitting file data .
Committed revision 722808.

> Memory leak in FileConsumer
> ---------------------------
>                 Key: CAMEL-1138
>                 URL:
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.5.0
>            Reporter: Hadrian Zbarcea
>            Assignee: Claus Ibsen
>            Priority: Critical
>             Fix For: 1.5.1, 2.0.0
> Using a memory profiler, we've identified what appears to be a substantial memory leak
in FileConsumer in Camel 1.5.0.  It appears that the noopMap is constantly having items added
to it, but nothing performs a remove on it when the file is consumed.  This causes a very
large amount of string data to be accumulated in the heap.  In our application, this was a
leak of several hundred megabytes and is a showstopper.   Considering the apparent severity
of this issue, it would really be nice if a fix could be incorporated into a 1.5.1 version.


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message