You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]" <ra...@nasa.gov.INVALID> on 2025/11/13 18:24:13 UTC
RE: [EXTERNAL] [BULK] Re: Memory leak?
Ok, it just happened again. How to generate heap dump?
Rahman Gunawan
SITSS Software Developer
NASA SEWP / SITSS
HALVIK Corporation
7601 Ora Glen Dr, Greenbelt, MD 20770
C: 240.444.6003
O: 301.614.5257
rahman.gunawan@nasa.gov
-----Original Message-----
From: Justin Bertram <jb...@apache.org>
Sent: Thursday, November 13, 2025 12:25 PM
To: users@activemq.apache.org
Subject: [EXTERNAL] [BULK] Re: Memory leak?
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
Any update here, Rahman?
Justin
On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram <jb...@apache.org> wrote:
> I think it's unlikely for there to be a memory leak in the JGroups
> configuration used by Artemis. It's more likely that this
> OutOfMemoryError is a symptom of a separate issue in the same JVM.
> However, we need more data to determine what really happened. Did you
> acquire a heap dump when this happened (e.g. via
> -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload somewhere and post the link here for analysis?
>
> Also, can you elaborate on your use-case and describe the
> circumstances surrounding when this happened?
>
>
> Justin
>
> On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> Corp] <ra...@nasa.gov.invalid> wrote:
>
>> I’m using Artemis 2.42.0, is there a memory leak in artemis jgroup
>> configuration? Got error:
>>
>> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
>> JGRP000212: failed submitting task to thread pool
>>
>> java.lang.OutOfMemoryError: Java heap space
>>
>> failed handling incoming message
>>
>> java.lang.OutOfMemoryError: Java heap space
>>
>>
>>
>> *Rahman Gunawan*
>>
>> *SITSS Software Developer*
>>
>> NASA SEWP / SITSS
>>
>> HALV*I*K Corporation
>>
>> 7601 Ora Glen Dr, Greenbelt, MD 20770
>>
>> C: 240.444.6003
>> O: 301.614.5257
>>
>> rahman.gunawan@nasa.gov
>>
>>
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
For additional commands, e-mail: users-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [EXTERNAL] [BULK] Re: Memory leak?
Posted by Justin Bertram <jb...@apache.org>.
Do you have this scenario distilled into a test-case you can share,
preferably one that doesn't need to run "overnight"?
Also, it's still not clear to me if it's the broker or the client that's
running out of memory here. Can you clarify this point?
For what it's worth, you could almost certainly make this easier to
reproduce by significantly reducing the size of your heap. This would also
make it easier to share your heap dump since it would be much smaller.
Justin
On Mon, Dec 15, 2025 at 12:12 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
via users <us...@activemq.apache.org> wrote:
> The client connects to "jgroups://" URL, e.g.: connectionFactory = new
> ActiveMQConnectionFactory("jgroups://myChannelName?file=jgroups-file.xml,
> userName, password);
> Run overnight and usually run out memory after sending 1st message.
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Tuesday, December 9, 2025 11:15 AM
> To: users@activemq.apache.org
> Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> Any chance you've got a test-case which I can use to reproduce what you're
> seeing?
>
>
> Justin
>
> On Mon, Dec 1, 2025 at 12:38 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
> via users <us...@activemq.apache.org> wrote:
>
> > It seems that it's related to how I connect from client. If I use
> > connection: "jgroups://" URL, e.g.:
> > connectionFactory = new
> > ActiveMQConnectionFactory("jgroups://myChannelName?file=jgroups-file.x
> > ml,
> > userName, password);
> > at some point, the client will run out of memory and server will run
> > out of memory too.
> >
> > It worked fine if I used direct connection e.g. connectionFactory =
> > new ActiveMQConnectionFactory(connectionUrl, userName, password);
> > where connectionUrl is a list of primary - backup servers.
> >
> > Rahman Gunawan
> > SITSS Software Developer
> > NASA SEWP / SITSS
> > HALVIK Corporation
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > C: 240.444.6003
> > O: 301.614.5257
> > rahman.gunawan@nasa.gov
> >
> >
> > -----Original Message-----
> > From: Justin Bertram <jb...@apache.org>
> > Sent: Monday, December 1, 2025 11:36 AM
> > To: users@activemq.apache.org
> > Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
> >
> > CAUTION: This email originated from outside of NASA. Please take care
> > when clicking links or opening attachments. Use the "Report Message"
> > button to report suspicious messages to the NASA SOC.
> >
> >
> >
> >
> > Did you get this sorted, Rahman?
> >
> >
> > Justin
> >
> > On Thu, Nov 13, 2025 at 4:35 PM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > Corp] < rahman.gunawan@nasa.gov.invalid> wrote:
> >
> > >
> > > Do you have ftp server that I can upload the file to? The file size
> > > is 2.74GB.
> > >
> > > Rahman Gunawan
> > > SITSS Software Developer
> > > NASA SEWP / SITSS
> > > HALVIK Corporation
> > > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > > C: 240.444.6003
> > > O: 301.614.5257
> > > rahman.gunawan@nasa.gov
> > >
> > >
> > > -----Original Message-----
> > > From: Justin Bertram <jb...@apache.org>
> > > Sent: Thursday, November 13, 2025 1:33 PM
> > > To: users@activemq.apache.org
> > > Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
> > >
> > > CAUTION: This email originated from outside of NASA. Please take
> > > care when clicking links or opening attachments. Use the "Report
> Message"
> > > button to report suspicious messages to the NASA SOC.
> > >
> > >
> > >
> > >
> > > There's lots of good resources on the Internet about how to acquire
> > > a Java heap dump. However, I would personally recommend using the
> > > Java system property that I mentioned previously (i.e.
> > > -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to
> > > automatically create a heap dump when an OutOfMemoryError is thrown.
> > > As before, the Internet has a lot of good information about this
> option.
> > >
> > > Once you acquire a heap dump you'll need to upload it somewhere so
> > > that we can fetch it for analysis.
> > >
> > >
> > > Justin
> > >
> > > On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > > Corp] < rahman.gunawan@nasa.gov.invalid> wrote:
> > >
> > > > Ok, it just happened again. How to generate heap dump?
> > > >
> > > >
> > > >
> > > > Rahman Gunawan
> > > > SITSS Software Developer
> > > > NASA SEWP / SITSS
> > > > HALVIK Corporation
> > > > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > > > C: 240.444.6003
> > > > O: 301.614.5257
> > > > rahman.gunawan@nasa.gov
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Justin Bertram <jb...@apache.org>
> > > > Sent: Thursday, November 13, 2025 12:25 PM
> > > > To: users@activemq.apache.org
> > > > Subject: [EXTERNAL] [BULK] Re: Memory leak?
> > > >
> > > > CAUTION: This email originated from outside of NASA. Please take
> > > > care when clicking links or opening attachments. Use the "Report
> > Message"
> > > > button to report suspicious messages to the NASA SOC.
> > > >
> > > >
> > > >
> > > >
> > > > Any update here, Rahman?
> > > >
> > > >
> > > > Justin
> > > >
> > > > On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram
> > > > <jb...@apache.org>
> > > > wrote:
> > > >
> > > > > I think it's unlikely for there to be a memory leak in the
> > > > > JGroups configuration used by Artemis. It's more likely that
> > > > > this OutOfMemoryError is a symptom of a separate issue in the same
> JVM.
> > > > > However, we need more data to determine what really happened.
> > > > > Did you acquire a heap dump when this happened (e.g. via
> > > > > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload
> > > > > somewhere and
> > > > post the link here for analysis?
> > > > >
> > > > > Also, can you elaborate on your use-case and describe the
> > > > > circumstances surrounding when this happened?
> > > > >
> > > > >
> > > > > Justin
> > > > >
> > > > > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman
> > > > > (GSFC-SEWP)[Halvik Corp] <ra...@nasa.gov.invalid> wrote:
> > > > >
> > > > >> I’m using Artemis 2.42.0, is there a memory leak in artemis
> > > > >> jgroup configuration? Got error:
> > > > >>
> > > > >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> > > > >> JGRP000212: failed submitting task to thread pool
> > > > >>
> > > > >> java.lang.OutOfMemoryError: Java heap space
> > > > >>
> > > > >> failed handling incoming message
> > > > >>
> > > > >> java.lang.OutOfMemoryError: Java heap space
> > > > >>
> > > > >>
> > > > >>
> > > > >> *Rahman Gunawan*
> > > > >>
> > > > >> *SITSS Software Developer*
> > > > >>
> > > > >> NASA SEWP / SITSS
> > > > >>
> > > > >> HALV*I*K Corporation
> > > > >>
> > > > >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> > > > >>
> > > > >> C: 240.444.6003
> > > > >> O: 301.614.5257
> > > > >>
> > > > >> rahman.gunawan@nasa.gov
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > > ------------------------------------------------------------------
> > > > --
> > > > - To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > > > For additional commands, e-mail: users-help@activemq.apache.org
> > > > For further information, visit:
> > > > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2F
> > > > ac%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cfc51eb6425b84bf95
> > > > 59d08de373e6ce3%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C63900
> > > > 8938410767776%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYi
> > > > OiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7
> > > > C0%7C%7C%7C&sdata=IFEnTm%2F5OxjyNjT0tF0HIXDQ3LjejFhXuoJNeCCNQVg%3D
> > > > &reserved=0
> > > > ti%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cbf93359164ec4dfbe
> > > > 00
> > > > 708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C6390020
> > > > 38
> > > > 296893546%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIw
> > > > Lj
> > > > AuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%
> > > > 7C
> > > > %7C&sdata=lWjR%2FNdfCsC1QhS5w8SWcQE2i21q44baZ9fAdiV9Gl4%3D&reserve
> > > > d=
> > > > 0
> > > > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov
> > > > %7
> > > > C1
> > > > 215937268fb4ea9c88008de22e340b0%7C7005d45845be48ae8140d43da96dd17b
> > > > %7
> > > > C0
> > > > %7C0%7C638986556601701089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGki
> > > > On
> > > > Ry
> > > > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ
> > > > %3
> > > > D%
> > > > 3D%7C0%7C%7C%7C&sdata=W0H3xYT6CbFk4suz0bM0HJ2Cmup3FO%2FZWqGxSXZWzo
> > > > 4%
> > > > 3D
> > > > &reserved=0
> > > >
> > > >
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > > For additional commands, e-mail: users-help@activemq.apache.org For
> > > further information, visit:
> > > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fac
> > > ti%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cfc51eb6425b84bf9559
> > > d08de373e6ce3%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C639008938
> > > 410798195%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLj
> > > AuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C
> > > %7C&sdata=LioQps5qIr%2BCHfaF%2Frhqe%2FrAV2%2FkWNXHtjLoAU0znbQ%3D&res
> > > erved=0
> > > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7
> > > Cb
> > > f93359164ec4dfbe00708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7
> > > C0
> > > %7C0%7C639002038296909364%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOn
> > > Ry
> > > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3
> > > D%
> > > 3D%7C0%7C%7C%7C&sdata=97dLNlmvw%2FVOYaGRODARTYJyH%2BmnDxejSuB9HXXbLb
> > > Y%
> > > 3D&reserved=0
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > For additional commands, e-mail: users-help@activemq.apache.org For
> > further information, visit:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cf
> > c51eb6425b84bf9559d08de373e6ce3%7C7005d45845be48ae8140d43da96dd17b%7C0
> > %7C0%7C639008938410823823%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> > 3D%7C0%7C%7C%7C&sdata=sUT3DRytXVGcpPTUExQz8tNCNKFdsdR9qScYNBsjeQw%3D&r
> > eserved=0
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>
RE: [EXTERNAL] [BULK] Re: Memory leak?
Posted by "Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] via users" <us...@activemq.apache.org>.
The client connects to "jgroups://" URL, e.g.: connectionFactory = new
ActiveMQConnectionFactory("jgroups://myChannelName?file=jgroups-file.xml, userName, password);
Run overnight and usually run out memory after sending 1st message.
Rahman Gunawan
SITSS Software Developer
NASA SEWP / SITSS
HALVIK Corporation
7601 Ora Glen Dr, Greenbelt, MD 20770
-----Original Message-----
From: Justin Bertram <jb...@apache.org>
Sent: Tuesday, December 9, 2025 11:15 AM
To: users@activemq.apache.org
Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
Any chance you've got a test-case which I can use to reproduce what you're seeing?
Justin
On Mon, Dec 1, 2025 at 12:38 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] via users <us...@activemq.apache.org> wrote:
> It seems that it's related to how I connect from client. If I use
> connection: "jgroups://" URL, e.g.:
> connectionFactory = new
> ActiveMQConnectionFactory("jgroups://myChannelName?file=jgroups-file.x
> ml,
> userName, password);
> at some point, the client will run out of memory and server will run
> out of memory too.
>
> It worked fine if I used direct connection e.g. connectionFactory =
> new ActiveMQConnectionFactory(connectionUrl, userName, password);
> where connectionUrl is a list of primary - backup servers.
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> rahman.gunawan@nasa.gov
>
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Monday, December 1, 2025 11:36 AM
> To: users@activemq.apache.org
> Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> Did you get this sorted, Rahman?
>
>
> Justin
>
> On Thu, Nov 13, 2025 at 4:35 PM Gunawan, Rahman (GSFC-SEWP)[Halvik
> Corp] < rahman.gunawan@nasa.gov.invalid> wrote:
>
> >
> > Do you have ftp server that I can upload the file to? The file size
> > is 2.74GB.
> >
> > Rahman Gunawan
> > SITSS Software Developer
> > NASA SEWP / SITSS
> > HALVIK Corporation
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > C: 240.444.6003
> > O: 301.614.5257
> > rahman.gunawan@nasa.gov
> >
> >
> > -----Original Message-----
> > From: Justin Bertram <jb...@apache.org>
> > Sent: Thursday, November 13, 2025 1:33 PM
> > To: users@activemq.apache.org
> > Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
> >
> > CAUTION: This email originated from outside of NASA. Please take
> > care when clicking links or opening attachments. Use the "Report Message"
> > button to report suspicious messages to the NASA SOC.
> >
> >
> >
> >
> > There's lots of good resources on the Internet about how to acquire
> > a Java heap dump. However, I would personally recommend using the
> > Java system property that I mentioned previously (i.e.
> > -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to
> > automatically create a heap dump when an OutOfMemoryError is thrown.
> > As before, the Internet has a lot of good information about this option.
> >
> > Once you acquire a heap dump you'll need to upload it somewhere so
> > that we can fetch it for analysis.
> >
> >
> > Justin
> >
> > On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > Corp] < rahman.gunawan@nasa.gov.invalid> wrote:
> >
> > > Ok, it just happened again. How to generate heap dump?
> > >
> > >
> > >
> > > Rahman Gunawan
> > > SITSS Software Developer
> > > NASA SEWP / SITSS
> > > HALVIK Corporation
> > > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > > C: 240.444.6003
> > > O: 301.614.5257
> > > rahman.gunawan@nasa.gov
> > >
> > >
> > > -----Original Message-----
> > > From: Justin Bertram <jb...@apache.org>
> > > Sent: Thursday, November 13, 2025 12:25 PM
> > > To: users@activemq.apache.org
> > > Subject: [EXTERNAL] [BULK] Re: Memory leak?
> > >
> > > CAUTION: This email originated from outside of NASA. Please take
> > > care when clicking links or opening attachments. Use the "Report
> Message"
> > > button to report suspicious messages to the NASA SOC.
> > >
> > >
> > >
> > >
> > > Any update here, Rahman?
> > >
> > >
> > > Justin
> > >
> > > On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram
> > > <jb...@apache.org>
> > > wrote:
> > >
> > > > I think it's unlikely for there to be a memory leak in the
> > > > JGroups configuration used by Artemis. It's more likely that
> > > > this OutOfMemoryError is a symptom of a separate issue in the same JVM.
> > > > However, we need more data to determine what really happened.
> > > > Did you acquire a heap dump when this happened (e.g. via
> > > > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload
> > > > somewhere and
> > > post the link here for analysis?
> > > >
> > > > Also, can you elaborate on your use-case and describe the
> > > > circumstances surrounding when this happened?
> > > >
> > > >
> > > > Justin
> > > >
> > > > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman
> > > > (GSFC-SEWP)[Halvik Corp] <ra...@nasa.gov.invalid> wrote:
> > > >
> > > >> I’m using Artemis 2.42.0, is there a memory leak in artemis
> > > >> jgroup configuration? Got error:
> > > >>
> > > >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> > > >> JGRP000212: failed submitting task to thread pool
> > > >>
> > > >> java.lang.OutOfMemoryError: Java heap space
> > > >>
> > > >> failed handling incoming message
> > > >>
> > > >> java.lang.OutOfMemoryError: Java heap space
> > > >>
> > > >>
> > > >>
> > > >> *Rahman Gunawan*
> > > >>
> > > >> *SITSS Software Developer*
> > > >>
> > > >> NASA SEWP / SITSS
> > > >>
> > > >> HALV*I*K Corporation
> > > >>
> > > >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> > > >>
> > > >> C: 240.444.6003
> > > >> O: 301.614.5257
> > > >>
> > > >> rahman.gunawan@nasa.gov
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > > ------------------------------------------------------------------
> > > --
> > > - To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > > For additional commands, e-mail: users-help@activemq.apache.org
> > > For further information, visit:
> > > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2F
> > > ac%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cfc51eb6425b84bf95
> > > 59d08de373e6ce3%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C63900
> > > 8938410767776%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYi
> > > OiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7
> > > C0%7C%7C%7C&sdata=IFEnTm%2F5OxjyNjT0tF0HIXDQ3LjejFhXuoJNeCCNQVg%3D
> > > &reserved=0
> > > ti%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cbf93359164ec4dfbe
> > > 00
> > > 708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C6390020
> > > 38
> > > 296893546%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIw
> > > Lj
> > > AuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%
> > > 7C
> > > %7C&sdata=lWjR%2FNdfCsC1QhS5w8SWcQE2i21q44baZ9fAdiV9Gl4%3D&reserve
> > > d=
> > > 0
> > > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov
> > > %7
> > > C1
> > > 215937268fb4ea9c88008de22e340b0%7C7005d45845be48ae8140d43da96dd17b
> > > %7
> > > C0
> > > %7C0%7C638986556601701089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGki
> > > On
> > > Ry
> > > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ
> > > %3
> > > D%
> > > 3D%7C0%7C%7C%7C&sdata=W0H3xYT6CbFk4suz0bM0HJ2Cmup3FO%2FZWqGxSXZWzo
> > > 4%
> > > 3D
> > > &reserved=0
> > >
> > >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > For additional commands, e-mail: users-help@activemq.apache.org For
> > further information, visit:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fac
> > ti%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cfc51eb6425b84bf9559
> > d08de373e6ce3%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C639008938
> > 410798195%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLj
> > AuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C
> > %7C&sdata=LioQps5qIr%2BCHfaF%2Frhqe%2FrAV2%2FkWNXHtjLoAU0znbQ%3D&res
> > erved=0
> > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7
> > Cb
> > f93359164ec4dfbe00708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7
> > C0
> > %7C0%7C639002038296909364%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOn
> > Ry
> > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3
> > D%
> > 3D%7C0%7C%7C%7C&sdata=97dLNlmvw%2FVOYaGRODARTYJyH%2BmnDxejSuB9HXXbLb
> > Y%
> > 3D&reserved=0
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org For
> further information, visit:
> https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cf
> c51eb6425b84bf9559d08de373e6ce3%7C7005d45845be48ae8140d43da96dd17b%7C0
> %7C0%7C639008938410823823%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> 3D%7C0%7C%7C%7C&sdata=sUT3DRytXVGcpPTUExQz8tNCNKFdsdR9qScYNBsjeQw%3D&r
> eserved=0
>
>
Re: [EXTERNAL] [BULK] Re: Memory leak?
Posted by Justin Bertram <jb...@apache.org>.
Any chance you've got a test-case which I can use to reproduce what you're
seeing?
Justin
On Mon, Dec 1, 2025 at 12:38 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
via users <us...@activemq.apache.org> wrote:
> It seems that it's related to how I connect from client. If I use
> connection: "jgroups://" URL, e.g.:
> connectionFactory = new
> ActiveMQConnectionFactory("jgroups://myChannelName?file=jgroups-file.xml,
> userName, password);
> at some point, the client will run out of memory and server will run out
> of memory too.
>
> It worked fine if I used direct connection e.g. connectionFactory = new
> ActiveMQConnectionFactory(connectionUrl, userName, password); where
> connectionUrl is a list of primary - backup servers.
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> rahman.gunawan@nasa.gov
>
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Monday, December 1, 2025 11:36 AM
> To: users@activemq.apache.org
> Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> Did you get this sorted, Rahman?
>
>
> Justin
>
> On Thu, Nov 13, 2025 at 4:35 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] <
> rahman.gunawan@nasa.gov.invalid> wrote:
>
> >
> > Do you have ftp server that I can upload the file to? The file size
> > is 2.74GB.
> >
> > Rahman Gunawan
> > SITSS Software Developer
> > NASA SEWP / SITSS
> > HALVIK Corporation
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > C: 240.444.6003
> > O: 301.614.5257
> > rahman.gunawan@nasa.gov
> >
> >
> > -----Original Message-----
> > From: Justin Bertram <jb...@apache.org>
> > Sent: Thursday, November 13, 2025 1:33 PM
> > To: users@activemq.apache.org
> > Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
> >
> > CAUTION: This email originated from outside of NASA. Please take care
> > when clicking links or opening attachments. Use the "Report Message"
> > button to report suspicious messages to the NASA SOC.
> >
> >
> >
> >
> > There's lots of good resources on the Internet about how to acquire a
> > Java heap dump. However, I would personally recommend using the Java
> > system property that I mentioned previously (i.e.
> > -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to automatically
> > create a heap dump when an OutOfMemoryError is thrown. As before, the
> > Internet has a lot of good information about this option.
> >
> > Once you acquire a heap dump you'll need to upload it somewhere so
> > that we can fetch it for analysis.
> >
> >
> > Justin
> >
> > On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > Corp] < rahman.gunawan@nasa.gov.invalid> wrote:
> >
> > > Ok, it just happened again. How to generate heap dump?
> > >
> > >
> > >
> > > Rahman Gunawan
> > > SITSS Software Developer
> > > NASA SEWP / SITSS
> > > HALVIK Corporation
> > > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > > C: 240.444.6003
> > > O: 301.614.5257
> > > rahman.gunawan@nasa.gov
> > >
> > >
> > > -----Original Message-----
> > > From: Justin Bertram <jb...@apache.org>
> > > Sent: Thursday, November 13, 2025 12:25 PM
> > > To: users@activemq.apache.org
> > > Subject: [EXTERNAL] [BULK] Re: Memory leak?
> > >
> > > CAUTION: This email originated from outside of NASA. Please take
> > > care when clicking links or opening attachments. Use the "Report
> Message"
> > > button to report suspicious messages to the NASA SOC.
> > >
> > >
> > >
> > >
> > > Any update here, Rahman?
> > >
> > >
> > > Justin
> > >
> > > On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram <jb...@apache.org>
> > > wrote:
> > >
> > > > I think it's unlikely for there to be a memory leak in the JGroups
> > > > configuration used by Artemis. It's more likely that this
> > > > OutOfMemoryError is a symptom of a separate issue in the same JVM.
> > > > However, we need more data to determine what really happened. Did
> > > > you acquire a heap dump when this happened (e.g. via
> > > > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload
> > > > somewhere and
> > > post the link here for analysis?
> > > >
> > > > Also, can you elaborate on your use-case and describe the
> > > > circumstances surrounding when this happened?
> > > >
> > > >
> > > > Justin
> > > >
> > > > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > > > Corp] <ra...@nasa.gov.invalid> wrote:
> > > >
> > > >> I’m using Artemis 2.42.0, is there a memory leak in artemis
> > > >> jgroup configuration? Got error:
> > > >>
> > > >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> > > >> JGRP000212: failed submitting task to thread pool
> > > >>
> > > >> java.lang.OutOfMemoryError: Java heap space
> > > >>
> > > >> failed handling incoming message
> > > >>
> > > >> java.lang.OutOfMemoryError: Java heap space
> > > >>
> > > >>
> > > >>
> > > >> *Rahman Gunawan*
> > > >>
> > > >> *SITSS Software Developer*
> > > >>
> > > >> NASA SEWP / SITSS
> > > >>
> > > >> HALV*I*K Corporation
> > > >>
> > > >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> > > >>
> > > >> C: 240.444.6003
> > > >> O: 301.614.5257
> > > >>
> > > >> rahman.gunawan@nasa.gov
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > > For additional commands, e-mail: users-help@activemq.apache.org For
> > > further information, visit:
> > > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fac
> > > ti%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cbf93359164ec4dfbe00
> > > 708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C639002038
> > > 296893546%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLj
> > > AuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C
> > > %7C&sdata=lWjR%2FNdfCsC1QhS5w8SWcQE2i21q44baZ9fAdiV9Gl4%3D&reserved=
> > > 0
> > > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7
> > > C1
> > > 215937268fb4ea9c88008de22e340b0%7C7005d45845be48ae8140d43da96dd17b%7
> > > C0
> > > %7C0%7C638986556601701089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOn
> > > Ry
> > > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3
> > > D%
> > > 3D%7C0%7C%7C%7C&sdata=W0H3xYT6CbFk4suz0bM0HJ2Cmup3FO%2FZWqGxSXZWzo4%
> > > 3D
> > > &reserved=0
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > For additional commands, e-mail: users-help@activemq.apache.org For
> > further information, visit:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cb
> > f93359164ec4dfbe00708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7C0
> > %7C0%7C639002038296909364%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> > 3D%7C0%7C%7C%7C&sdata=97dLNlmvw%2FVOYaGRODARTYJyH%2BmnDxejSuB9HXXbLbY%
> > 3D&reserved=0
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>
RE: [EXTERNAL] [BULK] Re: Memory leak?
Posted by "Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] via users" <us...@activemq.apache.org>.
It seems that it's related to how I connect from client. If I use connection: "jgroups://" URL, e.g.:
connectionFactory = new ActiveMQConnectionFactory("jgroups://myChannelName?file=jgroups-file.xml, userName, password);
at some point, the client will run out of memory and server will run out of memory too.
It worked fine if I used direct connection e.g. connectionFactory = new ActiveMQConnectionFactory(connectionUrl, userName, password); where connectionUrl is a list of primary - backup servers.
Rahman Gunawan
SITSS Software Developer
NASA SEWP / SITSS
HALVIK Corporation
7601 Ora Glen Dr, Greenbelt, MD 20770
C: 240.444.6003
O: 301.614.5257
rahman.gunawan@nasa.gov
-----Original Message-----
From: Justin Bertram <jb...@apache.org>
Sent: Monday, December 1, 2025 11:36 AM
To: users@activemq.apache.org
Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
Did you get this sorted, Rahman?
Justin
On Thu, Nov 13, 2025 at 4:35 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] <ra...@nasa.gov.invalid> wrote:
>
> Do you have ftp server that I can upload the file to? The file size
> is 2.74GB.
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> rahman.gunawan@nasa.gov
>
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Thursday, November 13, 2025 1:33 PM
> To: users@activemq.apache.org
> Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> There's lots of good resources on the Internet about how to acquire a
> Java heap dump. However, I would personally recommend using the Java
> system property that I mentioned previously (i.e.
> -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to automatically
> create a heap dump when an OutOfMemoryError is thrown. As before, the
> Internet has a lot of good information about this option.
>
> Once you acquire a heap dump you'll need to upload it somewhere so
> that we can fetch it for analysis.
>
>
> Justin
>
> On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik
> Corp] < rahman.gunawan@nasa.gov.invalid> wrote:
>
> > Ok, it just happened again. How to generate heap dump?
> >
> >
> >
> > Rahman Gunawan
> > SITSS Software Developer
> > NASA SEWP / SITSS
> > HALVIK Corporation
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > C: 240.444.6003
> > O: 301.614.5257
> > rahman.gunawan@nasa.gov
> >
> >
> > -----Original Message-----
> > From: Justin Bertram <jb...@apache.org>
> > Sent: Thursday, November 13, 2025 12:25 PM
> > To: users@activemq.apache.org
> > Subject: [EXTERNAL] [BULK] Re: Memory leak?
> >
> > CAUTION: This email originated from outside of NASA. Please take
> > care when clicking links or opening attachments. Use the "Report Message"
> > button to report suspicious messages to the NASA SOC.
> >
> >
> >
> >
> > Any update here, Rahman?
> >
> >
> > Justin
> >
> > On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram <jb...@apache.org>
> > wrote:
> >
> > > I think it's unlikely for there to be a memory leak in the JGroups
> > > configuration used by Artemis. It's more likely that this
> > > OutOfMemoryError is a symptom of a separate issue in the same JVM.
> > > However, we need more data to determine what really happened. Did
> > > you acquire a heap dump when this happened (e.g. via
> > > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload
> > > somewhere and
> > post the link here for analysis?
> > >
> > > Also, can you elaborate on your use-case and describe the
> > > circumstances surrounding when this happened?
> > >
> > >
> > > Justin
> > >
> > > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > > Corp] <ra...@nasa.gov.invalid> wrote:
> > >
> > >> I’m using Artemis 2.42.0, is there a memory leak in artemis
> > >> jgroup configuration? Got error:
> > >>
> > >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> > >> JGRP000212: failed submitting task to thread pool
> > >>
> > >> java.lang.OutOfMemoryError: Java heap space
> > >>
> > >> failed handling incoming message
> > >>
> > >> java.lang.OutOfMemoryError: Java heap space
> > >>
> > >>
> > >>
> > >> *Rahman Gunawan*
> > >>
> > >> *SITSS Software Developer*
> > >>
> > >> NASA SEWP / SITSS
> > >>
> > >> HALV*I*K Corporation
> > >>
> > >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> > >>
> > >> C: 240.444.6003
> > >> O: 301.614.5257
> > >>
> > >> rahman.gunawan@nasa.gov
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > For additional commands, e-mail: users-help@activemq.apache.org For
> > further information, visit:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fac
> > ti%2F&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cbf93359164ec4dfbe00
> > 708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C639002038
> > 296893546%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLj
> > AuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C
> > %7C&sdata=lWjR%2FNdfCsC1QhS5w8SWcQE2i21q44baZ9fAdiV9Gl4%3D&reserved=
> > 0
> > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7
> > C1
> > 215937268fb4ea9c88008de22e340b0%7C7005d45845be48ae8140d43da96dd17b%7
> > C0
> > %7C0%7C638986556601701089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOn
> > Ry
> > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3
> > D%
> > 3D%7C0%7C%7C%7C&sdata=W0H3xYT6CbFk4suz0bM0HJ2Cmup3FO%2FZWqGxSXZWzo4%
> > 3D
> > &reserved=0
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org For
> further information, visit:
> https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7Cb
> f93359164ec4dfbe00708de30f7dcfb%7C7005d45845be48ae8140d43da96dd17b%7C0
> %7C0%7C639002038296909364%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> 3D%7C0%7C%7C%7C&sdata=97dLNlmvw%2FVOYaGRODARTYJyH%2BmnDxejSuB9HXXbLbY%
> 3D&reserved=0
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
For additional commands, e-mail: users-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact
Re: [EXTERNAL] [BULK] Re: Memory leak?
Posted by Justin Bertram <jb...@apache.org>.
Did you get this sorted, Rahman?
Justin
On Thu, Nov 13, 2025 at 4:35 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
<ra...@nasa.gov.invalid> wrote:
>
> Do you have ftp server that I can upload the file to? The file size is
> 2.74GB.
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> rahman.gunawan@nasa.gov
>
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Thursday, November 13, 2025 1:33 PM
> To: users@activemq.apache.org
> Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> There's lots of good resources on the Internet about how to acquire a Java
> heap dump. However, I would personally recommend using the Java system
> property that I mentioned previously (i.e.
> -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to automatically
> create a heap dump when an OutOfMemoryError is thrown. As before, the
> Internet has a lot of good information about this option.
>
> Once you acquire a heap dump you'll need to upload it somewhere so that we
> can fetch it for analysis.
>
>
> Justin
>
> On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] <
> rahman.gunawan@nasa.gov.invalid> wrote:
>
> > Ok, it just happened again. How to generate heap dump?
> >
> >
> >
> > Rahman Gunawan
> > SITSS Software Developer
> > NASA SEWP / SITSS
> > HALVIK Corporation
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > C: 240.444.6003
> > O: 301.614.5257
> > rahman.gunawan@nasa.gov
> >
> >
> > -----Original Message-----
> > From: Justin Bertram <jb...@apache.org>
> > Sent: Thursday, November 13, 2025 12:25 PM
> > To: users@activemq.apache.org
> > Subject: [EXTERNAL] [BULK] Re: Memory leak?
> >
> > CAUTION: This email originated from outside of NASA. Please take care
> > when clicking links or opening attachments. Use the "Report Message"
> > button to report suspicious messages to the NASA SOC.
> >
> >
> >
> >
> > Any update here, Rahman?
> >
> >
> > Justin
> >
> > On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram <jb...@apache.org>
> > wrote:
> >
> > > I think it's unlikely for there to be a memory leak in the JGroups
> > > configuration used by Artemis. It's more likely that this
> > > OutOfMemoryError is a symptom of a separate issue in the same JVM.
> > > However, we need more data to determine what really happened. Did
> > > you acquire a heap dump when this happened (e.g. via
> > > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload somewhere
> > > and
> > post the link here for analysis?
> > >
> > > Also, can you elaborate on your use-case and describe the
> > > circumstances surrounding when this happened?
> > >
> > >
> > > Justin
> > >
> > > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > > Corp] <ra...@nasa.gov.invalid> wrote:
> > >
> > >> I’m using Artemis 2.42.0, is there a memory leak in artemis jgroup
> > >> configuration? Got error:
> > >>
> > >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> > >> JGRP000212: failed submitting task to thread pool
> > >>
> > >> java.lang.OutOfMemoryError: Java heap space
> > >>
> > >> failed handling incoming message
> > >>
> > >> java.lang.OutOfMemoryError: Java heap space
> > >>
> > >>
> > >>
> > >> *Rahman Gunawan*
> > >>
> > >> *SITSS Software Developer*
> > >>
> > >> NASA SEWP / SITSS
> > >>
> > >> HALV*I*K Corporation
> > >>
> > >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> > >>
> > >> C: 240.444.6003
> > >> O: 301.614.5257
> > >>
> > >> rahman.gunawan@nasa.gov
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > For additional commands, e-mail: users-help@activemq.apache.org For
> > further information, visit:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7C1
> > 215937268fb4ea9c88008de22e340b0%7C7005d45845be48ae8140d43da96dd17b%7C0
> > %7C0%7C638986556601701089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> > 3D%7C0%7C%7C%7C&sdata=W0H3xYT6CbFk4suz0bM0HJ2Cmup3FO%2FZWqGxSXZWzo4%3D
> > &reserved=0
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>
Re: [EXTERNAL] [BULK] Re: Memory leak?
Posted by Justin Bertram <jb...@apache.org>.
To my knowledge, the ASF does not provide any file upload functionality for
support situations like this. I believe you'll need to find a 3rd party
resource (e.g. Dropbox, Google Drive, etc.) to host the file. If that's not
possible then you'll need to analyze the heap dump on your own and provide
the results to us. If you don't know how to analyze a heap dump there are
some good resources on the Internet that will help you with the tools and
process to follow.
Justin
On Thu, Nov 13, 2025 at 4:35 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
<ra...@nasa.gov.invalid> wrote:
>
> Do you have ftp server that I can upload the file to? The file size is
> 2.74GB.
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> rahman.gunawan@nasa.gov
>
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Thursday, November 13, 2025 1:33 PM
> To: users@activemq.apache.org
> Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> There's lots of good resources on the Internet about how to acquire a Java
> heap dump. However, I would personally recommend using the Java system
> property that I mentioned previously (i.e.
> -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to automatically
> create a heap dump when an OutOfMemoryError is thrown. As before, the
> Internet has a lot of good information about this option.
>
> Once you acquire a heap dump you'll need to upload it somewhere so that we
> can fetch it for analysis.
>
>
> Justin
>
> On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] <
> rahman.gunawan@nasa.gov.invalid> wrote:
>
> > Ok, it just happened again. How to generate heap dump?
> >
> >
> >
> > Rahman Gunawan
> > SITSS Software Developer
> > NASA SEWP / SITSS
> > HALVIK Corporation
> > 7601 Ora Glen Dr, Greenbelt, MD 20770
> > C: 240.444.6003
> > O: 301.614.5257
> > rahman.gunawan@nasa.gov
> >
> >
> > -----Original Message-----
> > From: Justin Bertram <jb...@apache.org>
> > Sent: Thursday, November 13, 2025 12:25 PM
> > To: users@activemq.apache.org
> > Subject: [EXTERNAL] [BULK] Re: Memory leak?
> >
> > CAUTION: This email originated from outside of NASA. Please take care
> > when clicking links or opening attachments. Use the "Report Message"
> > button to report suspicious messages to the NASA SOC.
> >
> >
> >
> >
> > Any update here, Rahman?
> >
> >
> > Justin
> >
> > On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram <jb...@apache.org>
> > wrote:
> >
> > > I think it's unlikely for there to be a memory leak in the JGroups
> > > configuration used by Artemis. It's more likely that this
> > > OutOfMemoryError is a symptom of a separate issue in the same JVM.
> > > However, we need more data to determine what really happened. Did
> > > you acquire a heap dump when this happened (e.g. via
> > > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload somewhere
> > > and
> > post the link here for analysis?
> > >
> > > Also, can you elaborate on your use-case and describe the
> > > circumstances surrounding when this happened?
> > >
> > >
> > > Justin
> > >
> > > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > > Corp] <ra...@nasa.gov.invalid> wrote:
> > >
> > >> I’m using Artemis 2.42.0, is there a memory leak in artemis jgroup
> > >> configuration? Got error:
> > >>
> > >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> > >> JGRP000212: failed submitting task to thread pool
> > >>
> > >> java.lang.OutOfMemoryError: Java heap space
> > >>
> > >> failed handling incoming message
> > >>
> > >> java.lang.OutOfMemoryError: Java heap space
> > >>
> > >>
> > >>
> > >> *Rahman Gunawan*
> > >>
> > >> *SITSS Software Developer*
> > >>
> > >> NASA SEWP / SITSS
> > >>
> > >> HALV*I*K Corporation
> > >>
> > >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> > >>
> > >> C: 240.444.6003
> > >> O: 301.614.5257
> > >>
> > >> rahman.gunawan@nasa.gov
> > >>
> > >>
> > >>
> > >>
> > >>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> > For additional commands, e-mail: users-help@activemq.apache.org For
> > further information, visit:
> > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> > vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7C1
> > 215937268fb4ea9c88008de22e340b0%7C7005d45845be48ae8140d43da96dd17b%7C0
> > %7C0%7C638986556601701089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> > dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> > 3D%7C0%7C%7C%7C&sdata=W0H3xYT6CbFk4suz0bM0HJ2Cmup3FO%2FZWqGxSXZWzo4%3D
> > &reserved=0
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>
RE: [EXTERNAL] [BULK] Re: Memory leak?
Posted by "Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]" <ra...@nasa.gov.INVALID>.
Do you have ftp server that I can upload the file to? The file size is 2.74GB.
Rahman Gunawan
SITSS Software Developer
NASA SEWP / SITSS
HALVIK Corporation
7601 Ora Glen Dr, Greenbelt, MD 20770
C: 240.444.6003
O: 301.614.5257
rahman.gunawan@nasa.gov
-----Original Message-----
From: Justin Bertram <jb...@apache.org>
Sent: Thursday, November 13, 2025 1:33 PM
To: users@activemq.apache.org
Subject: Re: [EXTERNAL] [BULK] Re: Memory leak?
CAUTION: This email originated from outside of NASA. Please take care when clicking links or opening attachments. Use the "Report Message" button to report suspicious messages to the NASA SOC.
There's lots of good resources on the Internet about how to acquire a Java heap dump. However, I would personally recommend using the Java system property that I mentioned previously (i.e. -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to automatically create a heap dump when an OutOfMemoryError is thrown. As before, the Internet has a lot of good information about this option.
Once you acquire a heap dump you'll need to upload it somewhere so that we can fetch it for analysis.
Justin
On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] <ra...@nasa.gov.invalid> wrote:
> Ok, it just happened again. How to generate heap dump?
>
>
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> rahman.gunawan@nasa.gov
>
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Thursday, November 13, 2025 12:25 PM
> To: users@activemq.apache.org
> Subject: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> Any update here, Rahman?
>
>
> Justin
>
> On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram <jb...@apache.org>
> wrote:
>
> > I think it's unlikely for there to be a memory leak in the JGroups
> > configuration used by Artemis. It's more likely that this
> > OutOfMemoryError is a symptom of a separate issue in the same JVM.
> > However, we need more data to determine what really happened. Did
> > you acquire a heap dump when this happened (e.g. via
> > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload somewhere
> > and
> post the link here for analysis?
> >
> > Also, can you elaborate on your use-case and describe the
> > circumstances surrounding when this happened?
> >
> >
> > Justin
> >
> > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > Corp] <ra...@nasa.gov.invalid> wrote:
> >
> >> I’m using Artemis 2.42.0, is there a memory leak in artemis jgroup
> >> configuration? Got error:
> >>
> >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> >> JGRP000212: failed submitting task to thread pool
> >>
> >> java.lang.OutOfMemoryError: Java heap space
> >>
> >> failed handling incoming message
> >>
> >> java.lang.OutOfMemoryError: Java heap space
> >>
> >>
> >>
> >> *Rahman Gunawan*
> >>
> >> *SITSS Software Developer*
> >>
> >> NASA SEWP / SITSS
> >>
> >> HALV*I*K Corporation
> >>
> >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> >>
> >> C: 240.444.6003
> >> O: 301.614.5257
> >>
> >> rahman.gunawan@nasa.gov
> >>
> >>
> >>
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org For
> further information, visit:
> https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Facti
> vemq.apache.org%2Fcontact&data=05%7C02%7Crahman.gunawan%40nasa.gov%7C1
> 215937268fb4ea9c88008de22e340b0%7C7005d45845be48ae8140d43da96dd17b%7C0
> %7C0%7C638986556601701089%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRy
> dWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%
> 3D%7C0%7C%7C%7C&sdata=W0H3xYT6CbFk4suz0bM0HJ2Cmup3FO%2FZWqGxSXZWzo4%3D
> &reserved=0
>
>
Re: [EXTERNAL] [BULK] Re: Memory leak?
Posted by Justin Bertram <jb...@apache.org>.
There's lots of good resources on the Internet about how to acquire a Java
heap dump. However, I would personally recommend using the Java system
property that I mentioned previously
(i.e. -XX:+HeapDumpOnOutOfMemoryError). This tells the JVM to automatically
create a heap dump when an OutOfMemoryError is thrown. As before, the
Internet has a lot of good information about this option.
Once you acquire a heap dump you'll need to upload it somewhere so that we
can fetch it for analysis.
Justin
On Thu, Nov 13, 2025 at 12:24 PM Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
<ra...@nasa.gov.invalid> wrote:
> Ok, it just happened again. How to generate heap dump?
>
>
>
> Rahman Gunawan
> SITSS Software Developer
> NASA SEWP / SITSS
> HALVIK Corporation
> 7601 Ora Glen Dr, Greenbelt, MD 20770
> C: 240.444.6003
> O: 301.614.5257
> rahman.gunawan@nasa.gov
>
>
> -----Original Message-----
> From: Justin Bertram <jb...@apache.org>
> Sent: Thursday, November 13, 2025 12:25 PM
> To: users@activemq.apache.org
> Subject: [EXTERNAL] [BULK] Re: Memory leak?
>
> CAUTION: This email originated from outside of NASA. Please take care
> when clicking links or opening attachments. Use the "Report Message"
> button to report suspicious messages to the NASA SOC.
>
>
>
>
> Any update here, Rahman?
>
>
> Justin
>
> On Mon, Nov 10, 2025 at 8:13 AM Justin Bertram <jb...@apache.org>
> wrote:
>
> > I think it's unlikely for there to be a memory leak in the JGroups
> > configuration used by Artemis. It's more likely that this
> > OutOfMemoryError is a symptom of a separate issue in the same JVM.
> > However, we need more data to determine what really happened. Did you
> > acquire a heap dump when this happened (e.g. via
> > -XX:+HeapDumpOnOutOfMemoryError)? If so, could you upload somewhere and
> post the link here for analysis?
> >
> > Also, can you elaborate on your use-case and describe the
> > circumstances surrounding when this happened?
> >
> >
> > Justin
> >
> > On Mon, Nov 10, 2025 at 7:34 AM Gunawan, Rahman (GSFC-SEWP)[Halvik
> > Corp] <ra...@nasa.gov.invalid> wrote:
> >
> >> I’m using Artemis 2.42.0, is there a memory leak in artemis jgroup
> >> configuration? Got error:
> >>
> >> 2025-11-10 07:15:13,964 ERROR [org.jgroups.util.TimeScheduler3]
> >> JGRP000212: failed submitting task to thread pool
> >>
> >> java.lang.OutOfMemoryError: Java heap space
> >>
> >> failed handling incoming message
> >>
> >> java.lang.OutOfMemoryError: Java heap space
> >>
> >>
> >>
> >> *Rahman Gunawan*
> >>
> >> *SITSS Software Developer*
> >>
> >> NASA SEWP / SITSS
> >>
> >> HALV*I*K Corporation
> >>
> >> 7601 Ora Glen Dr, Greenbelt, MD 20770
> >>
> >> C: 240.444.6003
> >> O: 301.614.5257
> >>
> >> rahman.gunawan@nasa.gov
> >>
> >>
> >>
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@activemq.apache.org
> For additional commands, e-mail: users-help@activemq.apache.org
> For further information, visit: https://activemq.apache.org/contact
>
>