skyscreamer / nevado

A JMS driver for Amazon SQS.
http://nevado.skyscreamer.org/
Apache License 2.0
51 stars 48 forks source link

adding closed sessions cleanup upon new session creation. #104

Open kosvod opened 9 years ago

kosvod commented 9 years ago

Long story short, I'm using a Spring Integration with a SingleConnectionFactory wrapping NevadoConnectionFactory. The key is the word "Single": I endup with one connection for all (3) my jms inbound channels, and it (the connection) keeps adding sessions to NevadoConnection's _sessions, which steadily growth - i get about 1.6 million sessions within 5 days, making my app eventually crash with OOME.