Hi. It is so difficult to scale this. using vmstat, I can see my free memory shrinking and shrinking . It is really a case of "suck and see". The doco says m or M means MegaBytes So does -Xmx256m mean 256 MegaBytes ??? What do the others mean please Thanks :-)
"Shapira, Yoav" wrote: > > Hi, > Scary. > > All you have to do is add one line at the top of the file: > > JAVA_OPTS='-Xmx256m' > > Don't mess with the individual targets, like start, run, stop, etc. > > And be careful specifying these properties: -Xmx255mB != -Xmx256M != > -Xmx256m. > > Yoav Shapira > Millennium ChemInformatics > > >-----Original Message----- > >From: [EMAIL PROTECTED] [mailto:achana@;saysit.com] > >Sent: Tuesday, November 05, 2002 11:20 PM > >To: [EMAIL PROTECTED] > >Subject: USing JAVA_OPTS -Xmx > > > >Hi all. > >I am trying to modify catalina.sh > >Do I need to insert -Xmx255mB into all the options e.g > >[code] > >... > >elif ["$1" = "start"] ; then > >... > >$_RUNJAVA $JAVA_IPTS $CATALINA_OPTS \ > > -Djava.endorsed.dirs="JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \ > > ... > > -Xmx256M > > ... > >... > >[/code] > > > >-- > >To unsubscribe, e-mail: <mailto:tomcat-user- > >[EMAIL PROTECTED]> > >For additional commands, e-mail: <mailto:tomcat-user- > >[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: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>