if you do not know where to add the in tomcat.sh ... for min and max memory.

$JAVACMD  -native -Xms64M -Xmx128M $TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME}
org.apache.tomcat.startup.Tomcat "$@" &



Shuklix



-----Original Message-----
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 6:10 PM
To: [EMAIL PROTECTED]
Subject: RE: tomcat memory



        I thought by default java would use all the available memory, but
maybe not.  In your script that starts Tomcat, add -XmxAM where A is the
number of megabytes Tomcat should use as its maximum heap memory size.

        Randy

-----Original Message-----
From: Carlos [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 6:25 AM
To: [EMAIL PROTECTED]
Subject: tomcat memory


how can use tomcat more memory?
if i start the tomcat whit a driver the tomcat crash and says me that there
is not memory:
Exception in thread "main" java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Zipfile.java:110) .......

how can i configure the tomcat for using more memory?
thanks
Carlos


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

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



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

Reply via email to