You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Niklas Schlimm <ni...@t-online.de> on 2018/03/02 07:19:57 UTC
Memory Leak
Hi guys !
We use qpid in an Azure Cloud Application to connect the Azure Service Bus via JMS Protocol.
It seems that we are having a memory leak there. I have attached screen shots of the heap dumb analysis.
Our Dependencies are as follows:
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-amqp-1-0-client-jms</artifactId>
<version>0.32</version>
</dependency>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-amqp-1-0-client</artifactId>
<version>0.32</version>
</dependency>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-amqp-1-0-common</artifactId>
<version>0.32</version>
</dependency>
Does anyone of you guys have an idea whar we’re doing wrong or is that a bug?
Appreciate your feedback on that matter.
Best regards,
Niklas
Re: Memory Leak
Posted by Rob Godfrey <ro...@gmail.com>.
Hi Niklas,
the client you are using is very old (the final release was about 3 ago I
think), and has been replaced by the new Qpid JMS client (
https://qpid.apache.org/components/jms/index.html) - I would strongly
advise migrating your ode to use the new client.
Having said that I'm not aware of any leaks in the old client, but it is
entirely possible that there was one. Can you tell from your tooling which
objects are still holding a reference to the SendingLinkEndpoint and
Session$1 instances?
-- Rob
On 2 March 2018 at 08:19, Niklas Schlimm <ni...@t-online.de> wrote:
> Hi guys !
>
> We use qpid in an Azure Cloud Application to connect the Azure Service Bus
> via JMS Protocol.
> It seems that we are having a memory leak there. I have attached screen
> shots of the heap dumb analysis.
>
> Our Dependencies are as follows:
>
> <dependency>
> <groupId>org.apache.geronimo.specs</groupId>
> <artifactId>geronimo-jms_1.1_spec</artifactId>
> <version>1.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.qpid</groupId>
> <artifactId>qpid-amqp-1-0-client-jms</artifactId>
> <version>0.32</version>
> </dependency>
> <dependency>
> <groupId>org.apache.qpid</groupId>
> <artifactId>qpid-amqp-1-0-client</artifactId>
> <version>0.32</version>
> </dependency>
> <dependency>
> <groupId>org.apache.qpid</groupId>
> <artifactId>qpid-amqp-1-0-common</artifactId>
> <version>0.32</version>
> </dependency>
>
> Does anyone of you guys have an idea whar we’re doing wrong or is that a
> bug?
> Appreciate your feedback on that matter.
>
> Best regards,
> Niklas
>
>
>