Thanks!
[rg] <https://www.redpointglobal.com/> John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street, Suite 200 Wellesley, MA 02482 M: +1 7209385761<tel:+1%207209385761> | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> From: herbert.helmstr...@systema.com <herbert.helmstr...@systema.com> Sent: Tuesday, December 13, 2022 12:03 AM To: users@activemq.apache.org Subject: Antwort: [Ext] broker memory usage for temporary queues *** [Caution] This email is from an external source. Please use caution responding, opening attachments or clicking embedded links. *** Hi John, did you look at the Message Time To Live (at the point where the reply gets sent)? >From what I've learned: The broker keeps the messages in memory until they >expire. And if you ron non persistent messaging, these temp queues might not have any listener any more, but still waste memory. Regards Herbert ________________________________ Herbert Helmstreit DE RGB IAB Phone: +49 941 / 7 83 92 36 herbert.helmstr...@systema.com<mailto:herbert.helmstr...@systema.com> [cid:56kT3sv2_tioenrB_5sgJ2XeW@4Q_D19a7Mo_jF=hNL9kUbwCjt] www.systema.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.systema.com%2f&c=E,1,uXeKkxR7NxUCOXfJKvT_CMOjtFHJZKrMu8jMrOzK8gkr8pEjhWe-ir_KPEiHSNv4Br-Q1o8cmolg8vhJ5nFqbgR9VvVSKR6jHoJL19vLkEo,&typo=1> [LinkedIn]<https://www.linkedin.com/company/systema-gmbh/>[Facebook]<https://de-de.facebook.com/SYSTEMA.automation/>[XING]<https://www.xing.com/pages/systemagmbh> SYSTEMA Systementwicklung Dipl.-Inf. Manfred Austen GmbH Manfred-von-Ardenne-Ring 6 | 01099 Dresden HRB 11256 Amtsgericht Dresden | USt.-ID DE 159 607 786 Geschäftsführer: Manfred Austen, CEO und Dr. Ulf Martin, COO Von: "John Lilley" <john.lil...@redpointglobal.com.INVALID<mailto:john.lil...@redpointglobal.com.INVALID>> An: "users@activemq.apache.org<mailto:users@activemq.apache.org>" <users@activemq.apache.org<mailto:users@activemq.apache.org>> Datum: 12.12.2022 17:56 Betreff: [Ext] broker memory usage for temporary queues ________________________________ Greetings! We are seeing that our broker is getting OOM errors with 2GB JVM size. We use a lot of temporary queues for JMS reply-to with the RPC pattern. In order to better understand what drives memory use, is there a rule of thumb for the memory we would expect to be used by each temporary queue? If we find that reply-to temporary queues are using a lot of memory and there is no easy way to tune the broker to avoid that, can you give me an idea of the time it takes to create and destroy the temporary queue and its consumer? Is there a client-side setting for garbage collecting idle queues and recreating them as needed? If it is not too slow, we may find that recreating the queue each time, or aging them out, is a good approach. Any ideas appreciated for how to reduce memory use in this design. Thanks John [rg]<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.redpointglobal.com%2f&c=E,1,gcyjhPrT9JSbQL1Ik58o8bLo2aV5DtJFr7G_pcDNsD1EKMYuYarH5bmDhAgmIP4fTace5KHfSiSJrycEXSG77h4VhToHF-Lbg8APSWBTuQ,,&typo=1> John Lilley Data Management Chief Architect, Redpoint Global Inc. 888 Worcester Street, Suite 200 Wellesley, MA 02482 M: +1 7209385761<tel:+1%207209385761> | john.lil...@redpointglobal.com<mailto:john.lil...@redpointglobal.com> PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is confidential and is intended solely for the use of the individual(s) to whom it is addressed. If you believe you received this e-mail in error, please notify the sender immediately, delete the e-mail from your computer and do not copy, print or disclose it to anyone else. If you properly received this e-mail as a customer, partner or vendor of Redpoint, you should maintain its contents in confidence subject to the terms and conditions of your agreement(s) with Redpoint. PLEASE NOTE: This e-mail from Redpoint Global Inc. (“Redpoint”) is confidential and is intended solely for the use of the individual(s) to whom it is addressed. If you believe you received this e-mail in error, please notify the sender immediately, delete the e-mail from your computer and do not copy, print or disclose it to anyone else. If you properly received this e-mail as a customer, partner or vendor of Redpoint, you should maintain its contents in confidence subject to the terms and conditions of your agreement(s) with Redpoint.