Specify each parameter in the following format:
parameter-name=JavaVM-option |
jvm_options.cfg
This file must be stored in the following directory:
working-directory\conf\
This file specifies the JavaVM options to be used when the SDP server is started by the sdpstart command or when Stream Data Platform - AF commands are executed. In-process-connection adaptors operate based on the SDP_USER_OPT parameter specified in this file because they run on the same JavaVM as the SDP server. You must create this file for each working directory.
The JavaVM option specified in each parameter in this file is specified on the Java command line as shown below.
The table below lists and describes the parameters that can be specified and their default values. For details about the JavaVM options, see 8.11 List of JavaVM options.
Table 8-2 Specifiable parameters and their default values (jvm_options.cfg)
No. | Parameter name | Description | Default value |
---|---|---|---|
1 | SDP_CLASS_PATH | Specifies the jar file that is used by the in-process-connection adaptors. This file depends on the system configuration.# If you need to specify multiple jar files, you must specify this parameter for each jar file. The following shows an example: Example: SDP_CLASS_PATH=. SDP_CLASS_PATH=C:\\sdp\\AP If you specify a relative path for a jar file, make sure that the specified path is relative to the working directory. | None |
2 | SDP_CLASSLIB_TRACE | Specifies whether a stack trace is to be output for the class library. | -XX:-HitachiJavaClassLibTrace |
3 | SDP_CLASSLIB_TRACE_LINESIZE | Specifies the number of characters per line of stack trace for the class library. | -XX:HitachiJavaClassLibTraceLineSize=1024 |
4 | SDP_GC | Specifies whether extended verbosegc information is to be output when garbage collection occurs. | -XX:-HitachiVerboseGC |
5 | SDP_GC_PRINT_CAUSE | Specifies whether the cause of garbage collection is to be output. | -XX:+HitachiVerboseGCPrintCause |
6 | SDP_INITIAL_MEM_SIZE | Specifies the initial Java heap size. You specify in this parameter the value obtained in 2.7.1 Estimating the memory requirements for the stream data processing engine and 2.7.2 Estimating the memory requirements for standard adaptors. | -Xms2048k |
7 | SDP_JVM_LOG | Specifies a prefix for the log file name. | -XX:HitachiJavaLog:javalog |
8 | SDP_JVM_LOG_FILE_SIZE | Specifies the maximum size of a single log file. | -XX:HitachiJavaLogFileSize=256k |
9 | SDP_LOCALS_IN_STACK_TRACE | Specifies whether the local variable information is to be output to the stack trace during a thread dump output. | -XX:-HitachiLocalsInStackTrace |
10 | SDP_LOCALS_SIMPLE_FORMAT | Specifies whether the simple format is to be used to output local variable information. | -XX:-HitachiLocalsSimpleFormat |
11 | SDP_MAX_MEM_SIZE | Specifies the maximum Java heap size. You specify in this parameter the value obtained in 2.7.1 Estimating the memory requirements for the stream data processing engine and 2.7.2 Estimating the memory requirements for standard adaptors. | -Xmx64m |
12 | SDP_MAX_PERM_SIZE | Specifies the maximum size of the Permanent area. | -XX:MaxPermSize=64m |
13 | SDP_NEW_RATIO | Specifies the ratio of the Tenured area to the DefNew area. | -XX:NewRatio=2 |
14 | SDP_OOM_STACK_TRACE | Specifies whether a stack trace is to be output in the event of an OutOfMemoryError. | -XX:-HitachiOutOfMemoryStackTrace |
15 | SDP_OUTPUT_MILLI_TIME | Specifies whether the time is to be output in milliseconds. | -XX:-HitachiOutputMilliTime |
16 | SDP_PERM_SIZE | Specifies the initial size of the Permanent area. | -XX:PermSize=16m |
17 | SDP_SYS_OPT | Specifies the JavaVM option required for execution of Stream Data Platform - AF commands. Specify this parameter if you need to specify the JavaVM option in a command depending on the system environment. This parameter takes effect only when a Stream Data Platform - AF command is executed. | None |
18 | SDP_THRD_DUMP | Specifies whether a thread dump is to be output to the standard output. | -XX:+HitachiThreadDumpToStdout |
19 | SDP_TRUE_TYPE_IN_LOCALS | Specifies whether the actual type name of a local variable object is to be output as a character string when the local variable information is output. | -XX:-HitachiTrueTypeInLocals |
20 | SDP_USER_OPT | Specifies a JavaVM option in either of the following cases:
Example: SDP_USER_OPT=-Dxxx=www SDP_USER_OPT=-Dyyy=zzz If you specify the same option more than once, the last option specified (that is the closest to the end of the file) takes effect. | None |