Hi

I managed to reproduce the issue and created a ticket
https://issues.apache.org/jira/browse/CAMEL-4261

You can disable the cache on the properties component. Then it will
not take up memory. However it has a limit of 1000 entries so it ought
not to eat up memory.


On Fri, Jul 22, 2011 at 8:51 AM, Claus Ibsen <[email protected]> wrote:
> Hi
>
> What version of Camel are you using?
>
> And how have you configured/defined the PropertiesComponent.
>
>
>
> On Fri, Jul 22, 2011 at 2:08 AM, CamelBumper01 <[email protected]> wrote:
>> I'm presently using properties to populate my camelContext.xml file and my
>> camel spring container is running out of memory consistently.  When I use
>> MAT to evaluate the heap dump files it points to LRUCache in the
>> org.apache.camle.component.properties.PropertiesComponent as the problem.
>>
>> It appears that the LRUCache is not releasing memory and that a separate
>> instance of the properties is created for every route execution instance.
>> Well that's what the heapdump appears to be indicating anyway.
>>
>> I have a heapdump if that will help and I can recreate this issue at will.
>>
>>
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/LRUCache-memory-leak-when-using-camel-properties-file-tp4621357p4621357.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [email protected]
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to