Hi all, first of all, sorry for my english :P
im writing a proxy server that at one side has a very fast tcp connection
(it receives many xml messages per second) and at the other side, a slower
client that receives these messages and does some db operations.
The proxy works fine for a day or two, but then it crashes with a "out of
memory (Java heap space)" error in the mina acceptor. I think the problem is
that the "slow" client isnt fast enough to consume incoming messages (that
the proxy forwards with "session.write") and so mina has to keep more and
more data in a "waiting-for-send" buffer.
Am i right?
In this case, how to monitor this buffer (so i can discard some message if
it is too big)? Or, how to manage this "speed" difference between the two
sides? Thx in advance.

Mirko

-- 
View this message in context: 
http://www.nabble.com/How-to-monitor-Mina-memory-usage--tp14948071s16868p14948071.html
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to