Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • classes

  • jar

  • properties

  • system

    • temp

  • trace

The Java Service Manager can run on a separate machine to the JSM Client.

When you select the option to start the Java Service Manager, you will be prompted to enter the following:

INSTANCE

The instance defaults to a value of *DEFAULT. This is the recommended value. The default instance is defined in the JSMMGRDTA data area at position 1 to 50.

VERSION

The JVM Version defaults to a value of *DEFAULT. This is the recommended value. Valid values are based on the currently supported versions of the JVM.

OPTION

The option defaults to a value of *NONE. Valid values include *VERBOSE, *VERBOSEGC, *NOCLASSGC.

For more information about the OPTION keyword refer to the i5/OS JAVA (Run Java Program) command.

GCHINL

Initial heap size.

The possible value range is 256-240000000 kilobytes.

...

For more information about the GCHINL keyword refer to the i5/OS JAVA (Run Java Program) command.

GCHMAX

Maximum heap size.

The possible value range is 256-240000000 kilobytes.

...

The 32-bit JDK can only have a process address space of 4096M (16 segments) and some of these segments are reserved.

Segment Count

Segment MB

GCHMAX Value

1

256

262144

2

512

524288

3

768

786432

4

1024

1048576

5

1280

1310720

6

1536

1572864

7

1792

1835008

8

2048

2097152

9

2304

2359296

10

2560

2621440

11

2816

2883584

12

3072

3145728

13

3328

3407872



16

4096

4194304



20

5120

5242880



24

6144

6291456



915

234240

239861760

From experimentation, these are the maximum GCHMAX values for IBM Java Technology for Java JDK's.

32bit  JVM's are limited to 3407872 kilobytes:         STRJSM

     STRJSM VERSION(*JVM8032) GCHMAX(3407872)

64bit  JVM's are limited to 239861760 kilobytes:         STRJSM

     STRJSM VERSION(*JVM8064) GCHMAX(239861760)

If you are using the shared classes option (-Xshareclasses), then the maximum GCHMAX value will be less.

...

Refer to Best Practices for Sizing and Tuning the Java Heap.

JOB

Name of submitted instance job.

COUNT

The number of times the instance is submitted.

Refer to 2.7 Java Service Manager Additional Servers.