The memory given to the JVM is $JAVA_OPTS -Xms512m -Xmx1024m The memory of the Solaris system is: Memory size: 4096 Megabytes
The result of executing command ulimit -a is as follows: -bash-3.00$ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited open files (-n) 256 pipe size (512 bytes, -p) 10 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29995 virtual memory (kbytes, -v) unlimited -bash-3.00$ -----Original Message----- From: André Warnier [mailto:a...@ice-sa.com] Sent: 2009年11月30日 18:38 To: Tomcat Users List Subject: Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26 Peter Chen wrote: > Hi, > > > > I meet one problem of OutOfMemoryError when I am running the > Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is > 1.5.0.12, and following is the detail of stack information. > ... > > SEVERE: Caught exception (java.lang.OutOfMemoryError: unable to create > new native thread) executing > org.apache.tomcat.util.net.leaderfollowerworkerthr...@958b36, > ... > Has anyone met this problem? Please give me some advice, thanks in > advance. > Well, it seem that you are running out of memory. The helpful thing to do then, would be to provide some information about how much memory is being given to your JVM to run in. Such as : how much memory does your system have, and what are the memory-related parameters used to start the JVM in which your Tomcat runs. And maybe the output of a "ps" or "top" like command, showing how much memory is really being used by Java. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org