NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-002
3-3
servlet.config
Java Runtime Arguments
Consider adding any of the optional Java runtime arguments (listed below) to the
Java Arglist parameter. Note that the Arglist arguments for Java precede the
NSJSP container class, as in the following example:
Arglist -Xbootclasspath/a:$env(JAVA_HOME)/lib/tools.jar \
-Xnoclassgc -Xmx64m -Xss128k -Dbrowserdebug=false \
-Djdbc.drivers=com.tandem.sqlmp.SQLMPDriver \
-Xbootclasspath
Sets the classpath of the arguments.
-Xnoclassgc
The -Xnoclassgc optional argument turns off Java class garbage collection.
By default, the Java runtime reclaims space for unused Java classes. Including
this optional argument may help prevent potential memory-leak problems.
-Xmx maximum-heap-size [ k | m ]
maximum-heap-size
Sets the maximum size of the memory allocation pool, which is the garbage
collected heap, to maximum-heap-size which must be greater than or equal
to 1000 bytes.
Sets the servlet.config file value to 64 MB, which specifies the maximum
heap size to use.
k
Sets the value to be read in kilobytes. If neither k or m is specified, the
value is read in bytes.
m
Sets the value to be read in megabytes. If neither k or m is specified, the
value is read in bytes.
-Xss maximum-stack-size
maximum-stack-size
Sets the servlet.config file value to 128 KB, which specifies the maximum
stack size that can be used by a Java thread.
-Dbrowserdebug=[ true | false ]
Allows the browser to show error details. The default is false. If you encounter
an unexplained error, look at the log files, turn on the browserdebug (true),
restart the server, and rerun the request.