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 Sun, 24 Nov 2013 10:26:20 GMT
Hi,
The property Exchange. MAXIMUM_ENDPOINT CACHE_SIZE is only available since
Camel 2.8.0.
My component is based on Camel 2.5.0. When I upgrade it to 2.8.0, I got
several errors in runtime.

Have you any ideas how can i set this Property in Camel 2.5.0?
Thanks.



On Sunday, November 24, 2013, Claus Ibsen wrote:

> Hi
>
> There is another cache setting you can tweak as well
>
> http://camel.apache.org/how-do-i-configure-the-maximum-endpoint-cache-size-for-camelcontext.html
>
> On Fri, Nov 22, 2013 at 3:45 PM, Hamid <lisbonne91@googlemail.com<javascript:;>>
> 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:;>>
> 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:;>>
> 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:;>
> >> Twitter: davsclaus
> >> Blog: http://davsclaus.com
> >> Author of Camel in Action: http://www.manning.com/ibsen
> >>
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cibsen@redhat.com <javascript:;>
> 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