Hitachi

uCosminexus Application Server Definition Reference Guide


14.4 Default values of the Java HotSpot VM options that can be specified in Cosminexus

This section displays the default value of the Java HotSpot VM options. The default value differs for each OS.

Tip

The default values described in this section are the initial values defined in the Java HotSpot VM.

When a J2EE server, batch server, or Java application is started, for some keys, the default values specified by using add.jvm.arg keys in the respective option definition file might override the default values shown in this section.

For details about the default values in the respective option definition file, see 2.2.2 usrconf.cfg (Option definition file for J2EE servers), 3.2.1 usrconf.cfg (Option definition file for batch servers), or 12.2.1 usrconf.cfg (Option definition file for Java applications).

The following table describes the default values of the Java HotSpot VM options for each OS: For details about the Java HotSpot VM options that can be specified in Application Server, see 14.5 Java HotSpot VM options that can be specified in Cosminexus.

Table 14‒10: Default values of the Java HotSpot VM options

No.

Option name

Types of OS and JavaVM to be used

Windows

Linux

AIX

[server]

[server]

[server]

1

-Xmxsize#1

83M

83M

83M

2

-Xmssize#1

7.8M

7.8M

7.8M

3

-XX:MaxMetaspaceSize=size#1

264-1

264-1

264-1

4

-XX:MetaspaceSize=size#1

16M

16M

16M

5

-XX:CompressedClassSpaceSize=size#1

1G

1G

1G

6

-Xmnsize

#3

#3

#3

7

-Xsssize

1M

1M

1M

8

-XX:NewRatio=value#1

2

2

2

9

-XX:SurvivorRatio=value#2

8

32

8

10

-XX:TargetSurvivorRatio=value

50

50

50

11

-XX:MaxTenuringThreshold=value

14

14

14

12

-XX:ReservedCodeCacheSize=size

48M

48M

48M

Note:

Unit of size is bytes.

#1

For J2EE servers, the default value of the add.jvm.arg key in the option definition file for J2EE servers (usrconf.cfg) is enabled. The default value of the option that is not defined in the add.jvm.arg key is the value mentioned in this table.

#2

The default JavaVM values are overwritten on the J2EE server executed in the J2EE server mode. The default value after overwriting is -XX:SurvivorRatio=8. This is common in all platforms.

#3

Decided according to the Java heap and -XX:NewRatio.