MMTE Administrator VMARG System Variables¶
There is a special group of system variables. They allow to transfer any number of additional options to MMTE Administrator executable file as Java Virtual Machine (JVM) arguments (VMARG).
Make sure each VMARG system variable is written one per line, with numbering.
All VMARG system variables must be consecutively enumerated with decimal numbers starting with 1 without interruption. For example, this is the valid sequence:
1, 2, 3, 4, 5
The following sequences are all invalid and will raise errors:
0, 1, 2, 3
1, 2, 4, 5
2, 3, 4, 5
4, 3, 2, 1
The general format of a VMARG system variable is as follows:
vmarg.N=-varname[=varvalue]
where
Parameter | Description | Example |
---|---|---|
N | consecutive number of a VMARG system variable | 1 |
varname | the system variable name | Xms |
varvalue | optional value of the system variable | 128m |
The sample list of MMTE Administrator VMARG variables:
vmarg.1=-Dfile.encoding=utf8
vmarg.2=-Dlogback.configurationFile=MetaMinerAdmin.logback.xml
vmarg.3=-XX:-OmitStackTraceInFastThrow
vmarg.4=-Xms128m
vmarg.5=-Xmx256m
VMARG Variable Name | Value? | Default Value | Description |
---|---|---|---|
Xrs | N | Reduces use of operating system signals by the JVM. There are two consequences of specifying -Xrs : 1) Ctrl-Break thread dumps are not available; 2) User code is responsible for causing shutdown hooks to run, for example by calling System.exit() when the JVM is to be terminated. |
|
Xms | Y | 128m | Limits amount of memory allocated for MMTE Administrator. "m" stands for Megabytes, "g" for Gigabytes. Works similar to MMS args |
Xmx | Y | 256m | |
Dfile.encoding | Y | utf8 | If MMTE cannot determine encoding of some external file loaded, we assume that this file is encoded using this parameter. |
Dlogback.configurationFile | Y | MetaMinerServer. logback.xml |
LOGBack configuration file for format details. It can include a path. |
XX:- OmitStackTraceInFastThrow |
N | JVM flag for disabling completely the use of preallocated exceptions. | |
Duse.encrypted.config | Y | False | config.json encryption enabled/disabled. |