Good evening, I am tracking down (yet another) memory issue on one of our Artemis client applications. We set very low limits for direct memory that Java is allowed to use, 13MB in this particular case. After starting the application, the "direct buffers" in use increase up to when no more direct memory can be allocated. The application does not do anything than listen on a topic and send and consume a management message every 30 seconds. It does _not_ consume or send any other messages. Yet, I see 47 "ActiveMQ-client-netty-threads" threads existing. All of them are idle in "io.netty.channel.epoll.Native.epollWait". If all of these threads use some thread-local netty buffer it would explain the constant growth. Which brings me to the main question: why would one see 47 such threads if there is almost nothing going on in the application? I would assume that a handful of threads should be sufficient since they can easily get re-used.
Cheers, Thorsten -- Dr.-Ing. Thorsten Meinl KNIME AG Talacker 50 8001 Zurich, Switzerland --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information, visit: https://activemq.apache.org/contact
