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 ?
 


      

Reply via email to