Hi Emmanuel,

I think your talking about a solution mentioned here:

http://mina.apache.org/faq.html#FAQ-Troubleshooting

The first entry "I get OutOfMemoryError or response timeout and connection 
reset under heavy load.".

OK, I will give it a try. This may take a while cause it's not easy to 
reproduce the problems locally (other OS, less amount of load available with 
our testing setup), so in the end we have to verify the solution in special 
stress test environments - or in production.

Anything else wrong or inappropriate with our MINA setup? I know, this kind of 
question is a lot easier to ask ... than to answer :-)

Thanks

Christian

-------- Original-Nachricht --------
> Datum: Thu, 02 Apr 2009 09:51:48 +0200
> Von: Emmanuel Lecharny <[email protected]>
> An: [email protected]
> Betreff: Re: MINA-based UDP server under heavy load makes VM consume all 
> available memory

> Christian Möller wrote:
> > Hi all,
> >   
> Hi,
> 
> just a comment on one of your questions atm :
> > Are we missing some key point to get the VM more stable and our service
> more responsive? Currently JVM consumes as much memory as you like (up to
> some GBs until operating system is swapping all the time) despite
> configuring it to use a maximum of 256MB heap for example (using command line
> parameter "-Xmx256M").
> >   
> 
> > JConsole shows us that the configured amount of Java Heap is NOT
> completely used by the VM anyway! So what the hell makes the VM consume so 
> much
> memory? Maybe we are facing some special kind of "NIO memory leak" by not
> cleaning up something important?
> >   
> Are you using direct buffers ? If so, memory will be taken from outside 
> your VM. Use Heap buffers unstead
> 
> -- 
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
> 

-- 
Dr. Christian Möller
[email protected]

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01

Reply via email to