You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2012/01/12 19:11:52 UTC

Thread lifetime for JMS

Following recent advice, I set up my endpoint to enable two threads
via JMS config, and left the executor alone.

I then found myself with a memory leak which can only be explained if
these threads are being created and destroyed fairly often, rather
than just hanging around.

Does this seem possible? If so, any ideas for how to get some code to
run on the way out?

Re: Thread lifetime for JMS

Posted by Benson Margulies <bi...@gmail.com>.
On Fri, Jan 13, 2012 at 11:48 AM, Daniel Kulp <dk...@apache.org> wrote:
> On Thursday, January 12, 2012 1:11:52 PM Benson Margulies wrote:
>> Following recent advice, I set up my endpoint to enable two threads
>> via JMS config, and left the executor alone.
>>
>> I then found myself with a memory leak which can only be explained if
>> these threads are being created and destroyed fairly often, rather
>> than just hanging around.
>
> Any idea what kind of memory leak?    Any chance of being able to create  a
> testcase?

I think I've tracked this down and it has nothing to do with CXF.
Sorry for the noise.



>
> Any chance it could be related to:
> https://issues.apache.org/jira/browse/CXF-2795
>
> Dan
>
>
>
>> Does this seem possible? If so, any ideas for how to get some code to
>> run on the way out?
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com

Re: Thread lifetime for JMS

Posted by Daniel Kulp <dk...@apache.org>.
On Thursday, January 12, 2012 1:11:52 PM Benson Margulies wrote:
> Following recent advice, I set up my endpoint to enable two threads
> via JMS config, and left the executor alone.
> 
> I then found myself with a memory leak which can only be explained if
> these threads are being created and destroyed fairly often, rather
> than just hanging around.

Any idea what kind of memory leak?    Any chance of being able to create  a 
testcase?

Any chance it could be related to:
https://issues.apache.org/jira/browse/CXF-2795

Dan



> Does this seem possible? If so, any ideas for how to get some code to
> run on the way out?
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com