I use a buffer size of 2048 bytes...not so much

Can you explain me this better ? Can I do something to improve or it's simply a fact ?

On 11/gen/06, at 18:18, Kaspar Luethi wrote:

i think memory occupation grows when *sending* the chat messages

back to the users. even if you send a single message, if you send

them to 2000 users, the single message will get copied into 2000

mina byte buffers. that's why i still miss ByteBuffer.duplicate() in

mina. it was probably made just for that kind of situation.

Best regards,