Ups, It seems I can't reproduce the problem. Probably I was looking at the wrong jconsole. Sorry for the alert. I will come again with this matter as soon I can figure it out.
Regards, Horia Trustin Lee wrote: > > 2007-02-08 (목), 01:34 -0800, seven 쓰시길: >> Hello, >> >> I was monitoring a simple mina server using jconsole and I saw that after >> switching to heap buffers ( ByteBuffer.setUseDirectBuffers(false) ) the >> number of threads began to grow as more clients connected to the server. >> >> With direct byte buffers the number of threads was constant no matter how >> many clients were connected ( 16 AnonymousIoService-x threads ). >> >> With heap byte buffers there appear to be a new thread for each new >> connected client. > > It's very weird. Using heap buffers shouldn't affect the number of > threads at all. Which version of MINA are you using? Can you reproduce > the problem with a simple test case? > > Trustin > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ > -- > PGP Key ID: 0x0255ECA6 > > > -- View this message in context: http://www.nabble.com/ByteBuffer.setUseDirectBuffers%28false%29-and-threads-tf3192238.html#a9280381 Sent from the mina dev mailing list archive at Nabble.com.
