

These example settings are for 64-bit systems. In the Java Options field, add your JAVA_OPTS values according to the tables above.Įnter only the options preceded by -X or -D, not set JAVA_OPTS=%JAVA_OPTS%.Įnter only one Java option setting per line. In the Apache Tomcat Properties dialog, click the Java tab. Start > Programs > Apache Tomcat > Configure Tomcat (Run as administrator)

Jvm for mac windows#
Launch the Tomcat configuration application from the Windows Start menu: If you installed JasperReports Server to use an existing Tomcat (not the bundled component) that is running as a Windows service, you can set Java options on the Java Tab of the Tomcat Properties dialog: Changing JVM Options for Existing Tomcat as a Windows Service After execution of the commands, the service is running. The Tomcat service is removed and then installed. You need to open a new cmd shell for each command.). From a Windows Command shell, enter these commands (Note: the cmd shell will disappear when these commands are run.
Jvm for mac update#
Update this line to increase the maximum heap size from 2048M to 3072M, for example:īecause Tomcat is installed as a service, you need to re-install the service. "%EXECUTABLE%" //US//%SERVICE_NAME% -Startup auto -JvmOptions "-Xms1024M -Xmx2048M -Xss2M -Dcatalina.base=%CATALINA_BASE% =%CATALINA_HOME% =%CATALINA_HOME%\endorsed" -StartMode jvm -StopMode jvm Look for the following line to change the JVM heap size, for example: The Windows binary installer installs the bundled Tomcat component as a Windows Service by default. JAVA_ENDORSED_DIRS="$BASEDIR"/common/endorsedĮxport JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME"Īdd JAVA_OPTS setting before #Display our environmentĬhanging JVM Options for Bundled Tomcat as a Windows Service Set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% JAVA_OPTS setting can go anywhere in this file. Set JAVA_ENDORSED_DIRS=%BASEDIR%\common\endorsed Alternatively, you can add your JAVA_OPTS settings to any one of these files:Īdd JVM Options After This Line on Windows Sections “Changing JVM Options for Bundled Tomcat as a Windows Service” - “Changing GlassFish JVM Options” present step-by-step instructions for performing this task. There are a number of ways to set JVM options.
Jvm for mac mac osx#
JVM Options on Linux and Mac OSX (64 bit)Įxport JAVA_OPTS="$JAVA_OPTS -Xms1024m -Xmx2048m -XX:PermSize=32m"Įxport JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=512m -Xss2m"Įxport JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC"Įxport JAVA_OPTS="$JAVA_OPTS -XX:+CMSClassUnloadingEnabled"Įxport JAVA_OPTS="$JAVA_OPTS =.MessageFactoryImpl"Įxport JAVA_OPTS="$JAVA_OPTS =.SOAPConnectionFactoryImpl"Įxport JAVA_OPTS="$JAVA_OPTS =.SOAPFactoryImpl"Įxport JAVA_OPTS="$JAVA_OPTS =.TransformerFactoryImpl" If your Linux applications are graphical, set the ‑=true to prevent Java from trying to connect to an X-Server for image processing. JasperReports Server doesn’t provide a virtual X frame buffer on Linux. Set JAVA_OPTS=%JAVA_OPTS% =.TransformerFactoryImpl Set JAVA_OPTS=%JAVA_OPTS% =.SOAPFactoryImpl

Set JAVA_OPTS=%JAVA_OPTS% =.SOAPConnectionFactoryImpl Set JAVA_OPTS=%JAVA_OPTS% =.MessageFactoryImpl Set JAVA_OPTS=%JAVA_OPTS% -XX:+CMSClassUnloadingEnabledĪdditional options for Java 1.6-1.7 and JBoss Set JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=512m -Xss2m -XX:+UseConcMarkSweepGC For 32-bit systems, see Checking your Java JVM Options. The following example settings are for 64-bit systems. For information about changing a JVM option setting for your particular environment, see your application server documentation. The following tables present some typical settings of JVM options that affect JasperReports Server. Other JVMs may or may not have equivalent settings. The settings in this section apply specifically to the Oracle/Sun JVM. The options that you should set and the values they are set to depend on your version of Java and the application server that you use. Java Virtual Machine (JVM) runtime parameters normally need to be explicitly set so that the memory settings have values that are larger than the default settings. JasperReports Server is supported on Java 1.6 and 1.7.
