Great. Thanks for your explanation in details.

2007/4/19, Maarten Bosteels <[EMAIL PROTECTED]>:

On 4/19/07, mat <[EMAIL PROTECTED]> wrote:
>
> My understanding is that the exception is from mina itself right since
it
> was caught by mina monitor. If so, I really worry about how to solve
this
> problem. I have 4G memory on my server.



The place where an OutOfMemoryException is caught has usually
little to do with the cause of the OutOfMemoryException.

How many of those 4G did you assign to the JVM ?
That is what really matters, since the JVM will not automatically claim
all
your physical memory.

http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp
http://blogs.sun.com/watt/resource/jvm-options-list.html

Maarten

2007/4/19, Emmanuel Lecharny <[EMAIL PROTECTED]>:
> >
> > The DefaultExceptionMonitor class is a catch all for any uncaught
> > exception
> > (like OutOfMemoryExceptions).
> >
> > The error you get really mean you are short of memory.
> >
> > On 4/18/07, mat <[EMAIL PROTECTED]> wrote:
> > >
> > > hi there, thanks
> > >
> > > but why
> > >
org.apache.mina.common.support.DefaultExceptionMonitorexceptionCaught?
> > > What is that supposed to mean?
> > >
> > >
> > > 2007/4/18, Julien Vermillard <[EMAIL PROTECTED]>:
> > > >
> > > > Le mercredi 18 avril 2007 à 22:36 +0800, mat a écrit :
> > > > > I got following exception:
> > > > >
> > > > > Exception in thread "Thread-13" java.lang.OutOfMemoryError: Java
> > heap
> > > > space
> > > > > 2007/4/18
> > > > > 09:02:30 org.apache.mina.common.support.DefaultExceptionMonitore
> > > > > xceptionCaught
> > > > > Unexpected exception.
> > > > > java.lang.OutOfMemoryError: Java heap space
> > > > >
> > > > > Can anyone explain?
> > > > Hi Mat,
> > > > You simply ran out of memory. Is it was during a huge load test ?
> > > > Julien
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Regards,
> > Cordialement,
> > Emmanuel Lécharny
> > www.iktek.com
> >
>

Reply via email to