RE: Hunting memory leaks

2023-08-09 Thread Jan Šmucr
Hello all. Thank you for your insights. * I’m using the core Java library. * Consumers are being created once per poll but reused if there are multiple inbound files to deal with. I create consumers like try (final consumer = createConsumer(session, params)) { // ... } so I expec

Re: Hunting memory leaks

2023-08-09 Thread Arthur Naseef
Reading the description of the problem, it sounds a lot like a consumer leak to me. Specifically this part: Consumers are polling queues on regular basis, some once a second Is the client using JMS? I recommend looking for signs of consumer leaks. Art On Wed, Aug 9, 2023 at 11:10 AM Clebert

Re: Hunting memory leaks

2023-08-09 Thread Clebert Suconic
I have recently chased a lot of leaks. Probably before 2.28. So I would recommend the 2.30 upgrade for sure Also one thing you could do is use my pet project to chase the increases. It’s called check-leak. You attach a remote process and produce a report for what’s growing. I highly recommend

Re: Hunting memory leaks

2023-08-09 Thread Justin Bertram
I echo Tim's recommendation to use the latest release, but I don't mean to say that will certainly resolve the problem. I can't say if you're doing anything wrong without more information. Can you answer the following questions? - What client library are you using? - How often are consumers bei

Re: Hunting memory leaks

2023-08-09 Thread Timothy Bish
On 8/9/23 08:06, Jan Šmucr wrote: Hello. I’m using a simple master-slave Artemis 2.26.0 cluster, and I’m noticing heap usage growing more and more each day no matter the throughput. There’s about 670 sessions at the same time opened for producers and consumers. Consumers are polling queues on

Hunting memory leaks

2023-08-09 Thread Jan Šmucr
Hello. I’m using a simple master-slave Artemis 2.26.0 cluster, and I’m noticing heap usage growing more and more each day no matter the throughput. There’s about 670 sessions at the same time opened for producers and consumers. Consumers are polling queues on regular basis, some once a second (m