NonStop Servlets for JSP System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
3-3
servlet.config
The NSJSP home directory
-Dcatalina.home=$env(NSJSP_HOME)
The name of the customized server.xml file for NSJSP to use
/conf/iTP_server.xml
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 -Xnoclassgc -Xmx32m -Xss128k -Dbrowserdebug=false\
-Djdbc.drivers=com.tandem.sqlmp.SQLMPDriver\
-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 ]
where
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 32 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
where
maximum-stack-size
sets the servlet.config file value to 128 KB, which specifies the maximum
stack size that can be used by C code in a Java thread.