Hi Hamid,

in addition to what Claus has already recommended you, please note that the
Apache Camel version 2.5.0 is REALLY old and is not supported by the
community anymore. There're tons of improvements & bugs-fixes being included
into the codebase since then. See the supported branches/versions here:
http://camel.apache.org/download.html

Maybe you could give a try with a newer SMX version than just 3.5.0:
http://servicemix.apache.org/downloads.html

And if you can still reproduce the same then the chances are much higher
that a Committer would look in more detail to see if there's any room for
improvement for this.

Good luck!

Babak


Hamid wrote
> 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@

> <javascript:_e({}, 'cvml', '

> claus.ibsen@

> ');>
>> > 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@

> <javascript:_e({}, 'cvml', '

> lisbonne91@

> ');>>
>>> 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@

>  <javascript:_e({}, 'cvml',
> >> '

> cibsen@

> ');>
>>> Twitter: davsclaus
>>> Blog: http://davsclaus.com
>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>
>>
>>





--
View this message in context: 
http://camel.465427.n5.nabble.com/ProducerCache-LRUCache-Memory-leak-tp5743681p5743750.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to