Download AlvariSTAR Installation Manual, Ver.3.0

Transcript
Chapter 7 - System Maintenance
7.1
Memory Tuning
As with any server system, proper memory tuning is crucial for the overall
AlvariSTAR system performance. This section allows you to configure in detail the
memory allocation for the AlvariSTAR application server.
To modify memory allocation settings on the application server edit the script file
oware/bin/startappserver and locate the line that starts with:
JAVA_OPTS="$SERVER_FLAG -Xconcurrentio -XX:MaxPermSize=128m -ms256m
-mx256m
The following two options can be used to control the memory allocation process:
-ms
Specify the initial size, in bytes, of the memory
allocation pool. This value must be a multiple
of 1024 greater than 1MB. Append the letter k
or K to indicate kilobytes, or m or M to indicate
megabytes.
Examples:
-ms6291456
-ms6144k
-ms6m
-mx
Specify the maximum size, in bytes, of the
memory allocation pool. This value must a
multiple of 1024 greater than 2MB. Append
the letter k or K to indicate kilobytes, or m or M
to indicate megabytes. The default value is 64
MB.
Examples:
-mx83886080
-mx81920k
-mx80m
62
AlvariSTAR Installation Manual