OOM was caused by a lot of reasons. Some hints: either READ or WRITE can't
handle the message. The message itself is too BIG. Tuning your GC.
On Fri, Jun 13, 2008 at 12:16 AM, Maziyar Eslamieh <[EMAIL PROTECTED]>
wrote:
> Hi all
> Can you help me?
> I am using MINA2 in my messaging system.
> This system is a server that send and receive text message.
> I use this filter in my server:
> acceptor.getFilterChain().addLast(
> "codec",
> new ProtocolCodecFilter(new TextLineCodecFactory(Charset
> .forName("UTF-8"))));
>
> I have two scenario:
> 1) this server send 500 msg per second and client replay to this
> 2) this server receive 500 msg per second from client and replay to client
>
> as result server send and receive 2000 msg/sec .
> After one day system throw outofmemory exception and server is down.
> my heap size is 2Gige.
>
> what is your solution to this problem?
> Do you check my source If i send this to forum ?
>
>
>
>
>