> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Tomcat gets not enough memory on vServer > > For all Java Processes > [unix]export JVM_OPTS ="-Xmx512M" > [windows] SET JVM_OPTS="-Xmx256m"
That's wrong - only launchers or scripts that look for JVM_OPTS will recognize those settings, and the standard java executable isn't one of them. > For Tomcat only > [unix] export TOMCAT_OPTS=3D"-DXmx=3D512m" > [Windows] set TOMCAT_OPTS=3D"-DXmx=3D512m" More erroneous information. The environment variables that the Tomcat scripts look at are JAVA_OPTS and CATALINA_OPTS, and putting a -D in front of Xmx gets you nothing useful. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org