Reinstall the services after modifying the file, as shown below. NOTE: You could also modify the Java Virtual Machine (JVM) settings if you prefer. Modify the settings file installdir/apache-tomcat/bin/setenv.bat: $ SET CATALINA_OPTS="%CATALINA_OPTS% -Xms256M -Xmx768M" Restart Tomcat after modifying the file: $ installdir/ctlscript.sh restart tomcat $ export JAVA_OPTS="$JAVA_OPTS -Xms256M -Xmx768M" Determine the path of the JRE directory within that installation. The latter contains the JRE and development tools. Download and install the desired version of the JRE (Java Runtime Environment) or the JDK (Java Development Kit). NOTE: You could also modify the Java Virtual Machine (JVM) settings if you prefer. If you choose to change the JVM software version used by MATLAB, you must: 1. Modify the settings file installdir/apache-tomcat/bin/setenv.sh: $ export CATALINA_OPTS="$CATALINA_OPTS -Xms256M -Xmx768M" You can increase these settings if necessary by following the steps below: Linux and Mac OS X The Tomcat server uses CATALINA_OPTS to set these Java settings when running: CATALINA_OPTS="-Xms256M -Xmx768M" The Java Virtual Machine (JVM) determines the default settings for your Java application: JAVA_OPTS="-Xms256m -Xmx512m" Learn more about the Bitnami stack environment and about OS X VMs. On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |