YourKit shows the Class list as follows:
- java.nio.HeapByteBuffer
- org.apache.mina.common.SimpleByteBufferAllocator$SimpleByteBuffer
- org.apache.mina.filter.codec.ProtocolCodecFilter$HiddenByteBuffer
- org.apache.mina.common.IoFilter$WriteRequest
-
Hi,
MINA 1.1.7 ?
Gerrit Grobbelaar wrote:
YourKit shows the Class list as follows:
- java.nio.HeapByteBuffer
- org.apache.mina.common.SimpleByteBufferAllocator$SimpleByteBuffer
- org.apache.mina.filter.codec.ProtocolCodecFilter$HiddenByteBuffer
-
Yes, 1.1.7 but 1.1.6 as well.
-Original Message-
From: Emmanuel Lecharny [EMAIL PROTECTED]
Sent: Saturday 26 July 2008 10:20
To: users@mina.apache.org
CC:
Subject: Re: byte[] usage - not GCd
Hi,
MINA 1.1.7 ?
Gerrit Grobbelaar wrote:
YourKit shows the Class list as follows:
Some more test results (I definitely have better results with MINA 1.1.5, but
still not ideal under load). Seeing that I get different, and somewhat
better, result with an older version, I'm going to try even older versions
than 1.1.5 now.
In the meantime: howcome these different results
MINA 1.1.4 performs even better than 1.1.5.
I still believe I'm doing something wrong in my code though, as I read only
good things about MINA in the reviews, but for me it just seems to crumble
underneath heavy load, the buffers not clearing quickly enough to be GCd.
==
MINA 1.1.4
Hi,
how find out is message sent to client. Server has to know is message
delivered to client.
I try something like this but it does'nt work :
IoSession session = (IoSession)context.getParameter(ioSession);
//pisanje podatka u sesiju.
WriteFuture future =
The line:
WriteFuture newFuture = (WriteFuture)ioFuture.await();
is not necessary in the operationComplete method. When the
operationComplete method is called, it means that the write has completed.
Check the javadocs...
On Sat, Jul 26, 2008 at 8:36 AM, Zlatko Josic [EMAIL PROTECTED]
wrote:
Ok...but I still don't know does client get data.
Before server sends date to client I shutdown the client and write date to
the session.
After that operetaionComplete method is called and future.isWritten()
returns true.
Is there any way to find did date delivered to client ?
On Sat, Jul 26,
OK thanks. Just to eliminate the obvious, one logical possibility that the
buffers are not garbage collected might be if your request objects have
somehow retained references to the buffers (direct or indirect). I assume
your request objects will be in scope as long as they are outstanding so
If I understand your requirement correctly, you may have to implement
an ARQ mechanism, that is, make the client send acknowledgement
messages to the server and make the server keep track of them.
On Sat, Jul 26, 2008 at 4:41 PM, Zlatko Josic [EMAIL PROTECTED] wrote:
Data sends to client ends
10 matches
Mail list logo