Re: Broker not releasing memory after restart

2020-04-15 Thread Tim Bain
Yes, it would be helpful to have your exact configuration, and to know the version of ActiveMQ that you are using. Unfortunately I won't have time to try to reproduce this until the weekend. But in the meantime would you please try the following to see if we can narrow in on what aspect of the bro

Re: Broker not releasing memory after restart

2020-04-14 Thread hfridhi
I agree with you the fact that we have to give the needed memory and do a good sizing in order to avoid such problems. However, my question is quite simple how it is possible that broker uses around 1,3G after 18 seconds knowing that there is no message in queues.

Re: Broker not releasing memory after restart

2020-04-14 Thread Tim Bain
Also, increasing the heap isn't necessarily a desperate measure for desperate times. Rather, it's right-sizing the compute resources allocated to the broker, so long as the heap usage is normal and expected. >From your question, clearly your initial assumption is that this heap usage is not normal

Re: Broker not releasing memory after restart

2020-04-14 Thread Tim Bain
Do you have a significant number of unconsumed persistent messages? Especially on many queues/topics? That would produce an increase in the amount of RAM relative to an empty broker, because the broker will pull a certain number of the messages into memory to be ready to dispatch them to consumers

Re: Broker not releasing memory after restart

2020-04-14 Thread hfridhi
Hello Tim, Thank you for your quick reply. I agree with that increasing JVM's heap is a desperate measures in desperate times but my question is why even after a restart memory is quickly consumed (a window of 2 minutes).

Re: Broker not releasing memory after restart

2020-04-13 Thread Tim Bain
The simplest path forward is to increase your JVM's heap, say to 3GB or 4GB. As long as the broker's steady-state utilization (after triggering a full GC) remains relatively constant over time (more precisely, the steady state utilization doesn't rise consistently over time), then increasing the he

Broker not releasing memory after restart

2020-04-13 Thread hfridhi
Hello guys, I know it could be shocking problem but it happened to me and I'm confused too. I started a broker to which I'm intensively sending messages through WS and consuming them by a camel embedded route. At a certain time, I'm facing "gc overhead limit exceeded java". I tried to restart the b

Re: Broker not releasing memory

2008-12-09 Thread Gary Tully
Message- >> From: Bruce Snyder [mailto:[EMAIL PROTECTED] >> Sent: Monday, December 08, 2008 10:17 AM >> To: users@activemq.apache.org >> Subject: Re: Broker not releasing memory >> >> On Mon, Dec 8, 2008 at 7:28 AM, Frugia, Kirby A <[EMAIL PROTECTED]> >> w

RE: Broker not releasing memory

2008-12-09 Thread Will van der Leij
going out of control. > > -Original Message- > From: Bruce Snyder [mailto:[EMAIL PROTECTED] > Sent: Monday, December 08, 2008 10:17 AM > To: users@activemq.apache.org > Subject: Re: Broker not releasing memory > > On Mon, Dec 8, 2008 at 7:28 AM, Frugia, Kirby A <[E

RE: Broker not releasing memory

2008-12-08 Thread Frugia, Kirby A
are hoping that if a consumer dies, the queue limits will at least keep any message queues for the dead consumer from going out of control. -Original Message- From: Bruce Snyder [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 10:17 AM To: users@activemq.apache.org Subject: Re:

Re: Broker not releasing memory

2008-12-08 Thread Bruce Snyder
On Mon, Dec 8, 2008 at 7:28 AM, Frugia, Kirby A <[EMAIL PROTECTED]> wrote: > I can reproduce this with the non-embedded, out-of-the-box broker. I also > think it's an under-the-hood problem. > > Until we get a fix, we've set pending message queue limits on our busy > topics. So, for example, th

RE: Broker not releasing memory

2008-12-08 Thread Frugia, Kirby A
t; Tìoraidh! > > Rick Blair > Associate Technical Fellow > Boeing Phantom Works > Network Systems Technology > Information Management Program > M/S: 42-50 > Voice: (206) 544-1610 > > > >> From: Will van der Leij <[EMAIL PROTECTED]> >> Reply

Re: Broker not releasing memory

2008-12-08 Thread Will van der Leij
> Rick Blair > Associate Technical Fellow > Boeing Phantom Works > Network Systems Technology > Information Management Program > M/S: 42-50 > Voice: (206) 544-1610 > > > >> From: Will van der Leij <[EMAIL PROTECTED]> >> Reply-To: >&g

Re: Broker not releasing memory

2008-12-05 Thread Rick Blair
08 23:32:31 -0800 (PST) > To: > Subject: Re: Broker not releasing memory > > > Hi Rick, > As I understand optimizeAcknowledge is disabled by default. Unfortunately, > setting it explicitely has not had an affect on our memory usage. > Could you perhaps briefly describe the

Re: Broker not releasing memory

2008-12-03 Thread Will van der Leij
uot;Frugia, Kirby A" <[EMAIL PROTECTED]> >> Reply-To: >> Date: Wed, 3 Dec 2008 15:43:30 +0000 >> To: "users@activemq.apache.org" >> Conversation: Broker not releasing memory >> Subject: RE: Broker not releasing memory >> >> This is fairly

RE: Broker not releasing memory

2008-12-03 Thread Will van der Leij
ee how that affects the situation. If you're still experiencing > issues, you might need to consider using a different message cursor > strategy: > > http://activemq.apache.org/message-cursors.html > > Bruce > -- > -- View this message in context: http://www.nabble.c

Re: Broker not releasing memory

2008-12-03 Thread Rick Blair
:43:30 + > To: "users@activemq.apache.org" > Conversation: Broker not releasing memory > Subject: RE: Broker not releasing memory > > This is fairly easy to reproduce if you create one app which sends messages > quickly and another which consumes the messages and sleeps bef

RE: Broker not releasing memory

2008-12-03 Thread Frugia, Kirby A
by -Original Message- From: Will van der Leij [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 12:17 AM To: users@activemq.apache.org Subject: RE: Broker not releasing memory Well, I'm reticent to suggest something going on under the hood without taking a good look at it, howeve

RE: Broker not releasing memory

2008-12-03 Thread Frugia, Kirby A
2, 2008 7:52 AM To: users@activemq.apache.org Subject: Re: Broker not releasing memory On Mon, Nov 24, 2008 at 7:37 AM, Frugia, Kirby A <[EMAIL PROTECTED]> wrote: > Hi All, > > Sorry I dual-posted in the dev list. I think I sent to the wrong one... > > We are seeing an issue

RE: Broker not releasing memory

2008-12-03 Thread Will van der Leij
t; > Yes, this is exactly what we are seeing. Any ideas? > > -Original Message- > From: Will van der Leij [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 27, 2008 11:42 PM > To: users@activemq.apache.org > Subject: Re: Broker not releasing memory > > >

Re: Broker not releasing memory

2008-12-02 Thread Bruce Snyder
On Mon, Nov 24, 2008 at 7:37 AM, Frugia, Kirby A <[EMAIL PROTECTED]> wrote: > Hi All, > > Sorry I dual-posted in the dev list. I think I sent to the wrong one... > > We are seeing an issue with our broker not releasing memory on topics. > > Setup: > * Active MQ 5.1 (

RE: Broker not releasing memory

2008-12-02 Thread Frugia, Kirby A
Yes, this is exactly what we are seeing. Any ideas? -Original Message- From: Will van der Leij [mailto:[EMAIL PROTECTED] Sent: Thursday, November 27, 2008 11:42 PM To: users@activemq.apache.org Subject: Re: Broker not releasing memory We see similar behaviour in a slightly different

Re: Broker not releasing memory

2008-11-27 Thread Will van der Leij
there soething wrnog with the setup. Many thanks Will van der Leij Frugia, Kirby A wrote: > > Hi All, > > Sorry I dual-posted in the dev list. I think I sent to the wrong one... > > We are seeing an issue with our broker not releasing memory on topics. > > S

Broker not releasing memory

2008-11-24 Thread Frugia, Kirby A
Hi All, Sorry I dual-posted in the dev list. I think I sent to the wrong one... We are seeing an issue with our broker not releasing memory on topics. Setup: * Active MQ 5.1 (out of the box) * Persistent messages sent by publishers * Non-durable topics We were seeing an issue in production