Re: Artemis 1.2 - possible mem leak in Management API (via JMS)

2016-05-09 Thread Justin Bertram
Can you provide a test-case which generates an OOME after numerous calls like this. I've tried and I can't. Justin - Original Message - From: "Andrew Loucas" To: users@activemq.apache.org Sent: Thursday, May 5, 2016 4:02:43 AM Subject: Artemis 1.2 - possible me

Artemis 1.2 - possible mem leak in Management API (via JMS)

2016-05-05 Thread Andrew Loucas
Hi,I'm using Artemis 1.2.0 with an embedded broker and I'm following the documented code under "Using Management Via JMS" so I have this to get the message count: try (QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);) {