camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hamid <lisbonn...@googlemail.com>
Subject Re: ProducerCache/LRUCache Memory leak ?
Date Sat, 23 Nov 2013 15:58:16 GMT
Hi,
Any idea Please.
It's vers important. Our composent is not more robuste and not usable.
Please help.

On Friday, November 22, 2013, Hamid wrote:

> Hi,
> I set the MAXIMUM_CACHE_POOL_SIZE to 50.
> I tested my Camel component with the new configuration. Unfortunately  I
> still have the same problem.
>
> Using the Eclipse analyzer I analyzed several dumps and the following are
> results :
>
> - dump at 11h47
> ==> 589 instances of org.apache.camel.util.LRUCache retain >= 42 175 824
> bytes
> - dump at 12h03
> ==> 589 instances of org.apache.camel.util.LRUCache retain >= 83 438 544
> bytes
> - dump at  12h16
> ==> 589 instances of org.apache.camel.util.LRUCache retain >= 112 168 896
> bytes
> - dump at  12h29
> ==> 589 instances of org.apache.camel.util.LRUCache retain >= 101 367 552
> bytes
> - dump at  13h39
> ==> 589 instances of org.apache.camel.util.LRUCache retain >= 126 107 840
> bytes
> - dump at  14h01
> ==> 589 instances of org.apache.camel.util.LRUCache retain >= 145 071 496
> bytes
>
> Any idea will be appreciated.
>
> Can you help
> Thanks
>
>
>
> On Fri, Nov 22, 2013 at 10:14 AM, Claus Ibsen <claus.ibsen@gmail.com<javascript:_e({},
'cvml', 'claus.ibsen@gmail.com');>
> > wrote:
>
>> See this FAQ
>>
>> http://camel.apache.org/how-do-i-configure-the-default-maximum-cache-size-for-producercache-or-producertemplate.html
>>
>> You can reduce the size of the cache, as it holds 1000 by default.
>>
>>
>> On Fri, Nov 22, 2013 at 10:11 AM, Hamid <lisbonne91@googlemail.com<javascript:_e({},
'cvml', 'lisbonne91@googlemail.com');>>
>> wrote:
>> > Hi everybody,
>> >
>> > I'am using camel 2.5.0 with servicemix-3.5.0-fuse.
>> > My camel component deployed in servicemix causes a memory leak.
>> > When I anlyze a dump with Eclipse Memory Analyzer I saw that there are
>> 610
>> > instances of
>> > *org.apache.camel.util.LRUCache that retains 20% of memory (173 MO).*Is
>> > there any issue with ProducerCache objects that are not being garbage
>> > collected.
>> > Can you please help.
>> >
>> > Many thanks.
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> Red Hat, Inc.
>> Email: cibsen@redhat.com <javascript:_e({}, 'cvml',
>> 'cibsen@redhat.com');>
>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message