Re: Performance issue in OrderedPendingList

2015-11-26 Thread David Sitsky
FWIW I changed the contains method as follows: @Override public boolean contains(MessageReference message) { if (message != null) { return map.containsKey(message.getMessageId()); } return false; } I got a speedup for my test taking 29 minutes from 41 minutes. Can we get this

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread Timothy Bish
On 11/26/2015 08:24 AM, spamtrap wrote: > On Thu, 26 Nov 2015 07:06:15 -0500, Timothy Bish > wrote: > >> On 11/26/2015 03:07 AM, spamtrap wrote: >>> On Wed, 25 Nov 2015 11:39:53 -0500, Timothy Bish >>> wrote: >>> On 11/25/2015 11:29 AM, spamtrap wrote: > On Wed, 25 Nov 2015 11:07:53 -050

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread spamtrap
On Thu, 26 Nov 2015 07:06:15 -0500, Timothy Bish wrote: >On 11/26/2015 03:07 AM, spamtrap wrote: >> On Wed, 25 Nov 2015 11:39:53 -0500, Timothy Bish >> wrote: >> >>> On 11/25/2015 11:29 AM, spamtrap wrote: On Wed, 25 Nov 2015 11:07:53 -0500, Timothy Bish wrote: > On 11/25/201

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread Timothy Bish
On 11/26/2015 03:07 AM, spamtrap wrote: > On Wed, 25 Nov 2015 11:39:53 -0500, Timothy Bish > wrote: > >> On 11/25/2015 11:29 AM, spamtrap wrote: >>> On Wed, 25 Nov 2015 11:07:53 -0500, Timothy Bish >>> wrote: >>> On 11/25/2015 10:50 AM, spamtrap wrote: > On Wed, 25 Nov 2015 09:33:38 -050

Re: systemd startup scripts for activemq

2015-11-26 Thread francesco
at the very last, this one worked for me: [Unit] Description=ActiveMQ async message broker After=network.target [Service] PrivateTmp=true PIDFile=/opt/activemq/data/activemq-your_server_name.pid Type=simple #Environment=JAVA_HOME=/usr/jvm/lib/latest User=activemq Group=activemq ExecStart=/opt/act

Re: systemd startup scripts for activemq

2015-11-26 Thread francesco
Just as a starting point, this is my first try: [Unit] Description=ActiveMQ async message broker After=network.target [Service] PrivateTmp=true PIDFile=/opt/activemq/data/activemq-gimcrack.pid Type=forking Environment=JAVA_HOME=/usr/jvm/lib/latest ExecStart=/opt/activemq/bin/activemq start [Ins

Re: Possible memory leak with ActiveMQ-CPP

2015-11-26 Thread spamtrap
On Wed, 25 Nov 2015 11:39:53 -0500, Timothy Bish wrote: >On 11/25/2015 11:29 AM, spamtrap wrote: >> On Wed, 25 Nov 2015 11:07:53 -0500, Timothy Bish >> wrote: >> >>> On 11/25/2015 10:50 AM, spamtrap wrote: On Wed, 25 Nov 2015 09:33:38 -0500, Timothy Bish wrote: > On 11/25/201