beautypg.com

Table 2 java runtime parameters – Raritan Computer DOMINION DSX-0N-E User Manual

Page 55

background image

C

HAPTER

7:

P

ORT

C

ONFIGURATION AND

P

ORT

A

CCESS

A

PPLICATION

37

Table 2 Java Runtime Parameters

-Xms
in bytes

Sets the initial size
of the Java heap.

2097152 (2MB)

• The

-server

flag increases the

default size to 32M.

• The values must be a multiple of, and

greater than, 1024 bytes (1KB).

• Append the letter “m” or “M” to

indicate megabytes and “k” or “K” to
indicate kilobytes.

-Xmn

in bytes

Sets the initial Java
heap size for the
Eden generation.

640K

• The

-server

flag increases the default

size to 2M.

Append the letter “m” or “M” to

indicate megabytes and “k” or “K”
to indicate kilobytes.

-Xmx
in bytes

Sets the maximum
size to which the
Java heap can
grow.

64M

• The

-server

flag increases the default

size to 128M.

• The maximum heap limit is

approximately 2 GB (2048MB).

• Append the letter “m” or “M” to

indicate megabytes and “k” or “K” to
indicate kilobytes.

.

V

ALUES

-S

YNTAX

D

ESCRIPTION

D

EFAULT

/

C

OMMENTS

Command Example:

-Xms128M -Xmn128M -Xmx512M

Refer to the following links for additional information and for all the non-standard options:g

http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html

http://java.sun.com/docs/hotspot/VMOptions.html