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.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 > [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%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: [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%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: [email protected] > For additional commands, e-mail: [email protected] > For further information, visit: https://activemq.apache.org/contact > >
