activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matteor <>
Subject Re: Abnormal (?) NIOTransport memory usage
Date Fri, 12 Apr 2013 10:31:24 GMT
Ok. I managed to fix the "pure ssl transport" problem. And, apparently, the
abnormal memory consumption usage with nio+ssl was related to this ssl
misconfiguration! I'll try to explain. 
Until today, I used to configure the SSL context AFTER creating the
transports, namely:

This apparently works well with NIO+SSL EXCEPT when I try to connect a CMS
client: in this case, the abnormal memory consumption is triggered.
With pure SSL, the code above simply does not work and the broker cannot
find the correct keystores (I saw this enabling the
The point is that once I fixed the code above (postponing the transport
connector creation AFTER the ssl context configuration) I got both the pure
SSL and the NIO+SSL scenarios up and running and the memory issue with
NIO+SSL disappeared!
I'm a little bit puzzled about this behavior, indeed.

Does this make sense to you?

Thank you!

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message