For Tomcat 3.2.x, the environment variable is TOMCAT_OPTS. Thanks, --jeff
----- Original Message ----- From: "Chris Newland" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2001 8:40 AM Subject: RE: Tomcat 3.2.3 Memory Exception running on HP-UX 11 > Hi Mike, > > If you are not explicitly setting the JVM initial heap size and maximum heap > size then they will take the default values which are quite small (64MByte > max I think?). > > If you want the JVM to use more of the system's memory then start it up > using the switches: > > -Xms <initial heap size> -Xmx <maximum heap size> > (This is for the Sun 1.3 JVM, but I expect the HP JVM has an equivalent) > > so for 100MB initial heap, 150MB maximum heap you would change your startup > script to override the defaults: > > java -Xms100M -Xmx150M <classname> > > In catalina.sh (Tomcat 4) there is an environment variable CATALINA_OPTS > that will add extra parameters to the java command so I just set > CATALINA_OPTS=" -Xms500M -Xmx1000M". There may be a similar option in Tomcat > 3.2.3. > > Hope this helps, > > Chris > > -----Original Message----- > From: Michael S. Ricker [mailto:[EMAIL PROTECTED]] > Sent: 29 November 2001 16:01 > To: [EMAIL PROTECTED] > Subject: Tomcat 3.2.3 Memory Exception running on HP-UX 11 > > > Hello, > > Attempted to make 5 simultaneous connections to Tomcat 3.2.3 on HP-UX 11 > and received the following exception. Tomcat is being run with HP Java > 1.3 without any specific command line parameters. The HP server had > 200mb real/300mb virtual memory free when monitoring with the top command. > > Any suggestions to prevent this exception? > > 2001-11-29 16:39:54 - ThreadPool: Caught exception executing > org.apache.tomcat.service.TcpWorkerThread@dc81fb1e, terminating thread - > java.lang.OutOfMemoryError: can't create another thread > at java.lang.Thread.start(Native Method) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.<init>(ThreadPool.java, > Compiled Code)at > org.apache.tomcat.util.ThreadPool.openThreads(ThreadPool.java, Compiled > Code) > at org.apache.tomcat.util.ThreadPool.runIt(ThreadPool.java, Compiled > Code) > at > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, > Compiled Code) > at > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, > Compiled Code) > at java.lang.Thread.run(Unknown Source) > > Mike > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>