hi,

there are many occasions.

1. if there is no memory left (-Xmx)
2. if there is no perm gen space left (for example to many jsps)
3. if there is not enough space in the current heap and no time to
enlarge the heap (xms < xmx)
4. if a new thread couldn't be created
5-10 whatever the jvm vendor thought funny

regards
Leon

On Sun, Nov 30, 2008 at 2:16 PM, Karim Zaki <[EMAIL PROTECTED]> wrote:
> Greetings all,
>
> I would like someone to shed a bit of light on when exactly Tomcat throws an 
> OutOfMemory exception. Is it when its physical memory usage (working set) 
> reaches the maximum limit configured in the JVM startup parameters, or are 
> other conditions that can cause this? I've noticed that sometimes I get these 
> exceptions when the working set is well below the value specified in -Xmx.
>
> Thanks,
> Karim
>
> -------------------------------------------------------------------------------
> "Although the moon is smaller than the earth, it is farther away."
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to