JVMOPTIONS
command line keywordUse JVMOPTIONS
to set options for the Java Virtual Machine (JVM).
The executables that can use this keyword are:
rwbuilder |
yes |
rwrun |
yes |
rwclient |
no |
rwcgi |
no |
rwserver |
yes |
rwservlet |
no |
rwconverter |
yes |
JVMOPTIONS={options in the Reports Runtime, Reports Builder, Reports Converter, or Reports Server’s JVM}
You could use the following command line to start the Reports Server with a 512MB heap space:
rwserver server=servername jvmoptions=-Xmx512M
You could also use the following command line to start Reports Builder with a 512MB heap space:
rwbuilder jvmoptions=-Xmx512M
If multiple options are passed, tehy must be enclosed in quotes:
rwserver server=servername jvmoptions="-Xmx256M -Xms=128M"
The default value -Xmx256M
specifies the JVM heap size of
256MB to avoid the Out Of Memory
error when running reports
with large graphs or running big reports.
When the Reports Engine starts up, it checks for JVM options specified
in the server_name
.conf
file in the jvmoptions
attribute of the engine
element. If specified, the JVM options
set in server_name
.conf
override the value
of the REPORTS_JVM_OPTIONS
environment variable. not specified
in server_name
.conf
, Oracle Reports uses
the JVM options specified by the REPORTS_JVM_OPTIONS
environment variable.
When running reports with Reports Server, JVM options nondefault be set using
the REPORTS_JVM_OPTIONS
environment variable. For Reports Server, set JVM options on the command
line using the JVMOPTIONS
command line keyword.
When running reports with Reports Builder, Reports Runtime, and Reports
Converter, JVM options specified on the command line with the JVMOPTIONS
command line keyword override JVM options specified by the REPORTS_JVM_OPTIONS
environment variable.
Running a report from the command line
Copyright © 1984, 2005, Oracle. All rights reserved.