Strange OutOfMemory Error in TcpWorkerThread

2004-07-30 Thread Francois JEANMOUGIN
Hi all, I have this strange error :
SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new
native thread) executing [EMAIL PROTECTED],
terminating thread

I use those parameters :

-verbose:gc -Xms756m -Xmx1024m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC

And the ParNew before and after the error gives me :
Before : [ParNew 299307K-285970K(774080K), 0.0632930 secs]
After :  [ParNew 302226K-290481K(774080K), 0.0777970 secs]

So, there is a LOT of memory available. I probably have to change some Jvm
parameters. Note that the dev is out for holidays, so it will be difficult
for me to look for a memory leak somewhere. Note that if I give more memory
(say -Xms=1024m -Xmx=1536m, for example), the error arrives sooner. There are
800 connectors configured. I was also unable to increase the number of
tomcat5.CoyoteConnector threads.

Any help appreciated,

François.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Strange OutOfMemory Error in TcpWorkerThread

2004-07-30 Thread Shapira, Yoav

Hi,
It's not likely a memory problem, but a resources problem for creating threads.  If 
you're running on unix, look at the ulimit command.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Francois JEANMOUGIN [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 4:00 AM
To: Tomcat Users List
Subject: Strange OutOfMemory Error in TcpWorkerThread

Hi all, I have this strange error :
SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create new
native thread) executing
[EMAIL PROTECTED],
terminating thread

I use those parameters :

-verbose:gc -Xms756m -Xmx1024m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC

And the ParNew before and after the error gives me :
Before : [ParNew 299307K-285970K(774080K), 0.0632930 secs]
After :  [ParNew 302226K-290481K(774080K), 0.0777970 secs]

So, there is a LOT of memory available. I probably have to change some Jvm
parameters. Note that the dev is out for holidays, so it will be difficult
for me to look for a memory leak somewhere. Note that if I give more memory
(say -Xms=1024m -Xmx=1536m, for example), the error arrives sooner. There
are
800 connectors configured. I was also unable to increase the number of
tomcat5.CoyoteConnector threads.

Any help appreciated,

François.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]