OutOfMemory - Set Java Heap Size?

2001-08-24 Thread Max Hugen
, until I tried increasing Tomcat sessions from 6 to 7, then I received the java.lang.OutOfMemoryError when starting the Tomcat sessions. I've read through many of the posts on this subject, some of which suggest to increase the heap size. Unfortunately, I'm a newbie to Java (and Linux and JSP

Re: OutOfMemory - Set Java Heap Size?

2001-08-24 Thread Craig R. McClanahan
The java command line option you want is actually -Xmx256m to set the maximum heap size. To set this, you can establish an environment variable named TOMCAT_OPTS (Tomcat 3.x) or CATALINA_OPTS (Tomcat 4.x) that contains the command line options to be sent to the JVM. For example: export

RE: OutOfMemory - Set Java Heap Size?

2001-08-24 Thread Aravind Naidu
R. McClanahan Sent: Saturday, 25 August 2001 11:42 To: Tomcat Users List; Max Hugen Subject: Re: OutOfMemory - Set Java Heap Size? The java command line option you want is actually -Xmx256m to set the maximum heap size. To set this, you can establish an environment variable named TOMCAT_OPTS

Setting max Heap size in Tomcat

2001-03-15 Thread Bhalchandra Patil
Hi, I am facing out of memory problem after continuous access of the tomcat. I want to set the maximum heap size that can be used by TOMCAT. what do i need to do for changing the max heap size? regards, Bhala

Re: Setting max Heap size in Tomcat

2001-03-15 Thread Gavin_Panella
Tomcat is a Java application like any other so you can change the max heap size the same as you would for anything else. For the Sun JDK 1.3 (and probably 1.2) all you have to do is run it like: java -Xmx128M some.class.to.Run Just replace the "128M" with the maximum heap s

Re: Setting max Heap size in Tomcat

2001-03-15 Thread Bhalchandra Patil
HI, I am working on a 265MB NT m/c. If i dont do any specific configuration and if the memory consumed by tomcat reaches about 64mb, then TOMCAT starts giving outofmemory exception. I tried setting the heap size as suggested, using the following command in tomcat.bat set TOMCAT_OPTS= -Xmx128m

<    1   2