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 <[email protected]> 
Sent: Tuesday, December 9, 2025 11:15 AM
To: [email protected]
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 <[email protected]> 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
> [email protected]
>
>
> -----Original Message-----
> From: Justin Bertram <[email protected]>
> Sent: Monday, December 1, 2025 11:36 AM
> To: [email protected]
> 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] < [email protected]> 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
> > [email protected]
> >
> >
> > -----Original Message-----
> > From: Justin Bertram <[email protected]>
> > Sent: Thursday, November 13, 2025 1:33 PM
> > To: [email protected]
> > 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] < [email protected]> 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
> > > [email protected]
> > >
> > >
> > > -----Original Message-----
> > > From: Justin Bertram <[email protected]>
> > > Sent: Thursday, November 13, 2025 12:25 PM
> > > To: [email protected]
> > > 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 
> > > <[email protected]>
> > > 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] <[email protected]> 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
> > > >>
> > > >> [email protected]
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > > ------------------------------------------------------------------
> > > --
> > > - To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected] 
> > > 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: [email protected]
> > For additional commands, e-mail: [email protected] 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: [email protected]
> For additional commands, e-mail: [email protected] 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
>
>
  • Memory leak? Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
    • Re: Memory leak? Justin Bertram
      • Re: Memory lea... Justin Bertram
        • RE: [EXTER... Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
          • Re: [E... Justin Bertram
            • R... Gunawan, Rahman (GSFC-SEWP)[Halvik Corp]
              • ... Justin Bertram
              • ... Justin Bertram
                • ... Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] via users
                • ... Justin Bertram
                • ... Gunawan, Rahman (GSFC-SEWP)[Halvik Corp] via users
                • ... Justin Bertram

Reply via email to