directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Torrisi <>
Subject Re: [MINA] Apparent DEADLOCK in com.mchange.v2.async.ThreadPoolAsynchronousRunner
Date Wed, 11 Jan 2006 18:08:58 GMT
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,
View raw message