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.ib...@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 <lisbonn...@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: cib...@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen >