1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| -Xmsn Specifies the initial size of the memory allocation
pool. This value must be a multiple of 1024
greater than 1 MB. Append the letter k or K to
indicate kilobytes or the letter m or M to indicate
megabytes. The default value is 2MB. Examples:
-Xms6291456
-Xms6144k
-Xms6m
-Xmxn Specifies the maximum size, in bytes, of the memory allocation
pool. This value must be a multiple of 1024 greater than 2 MB.
Append the letter k or K to indicate kilobytes or the letter m
or M to indicate megabytes. The default value is 64MB. Exam‐
ples:
-Xmx83886080
-Xmx81920k
-Xmx80m
On Solaris 7 and Solaris 8 SPARC platforms, the upper limit for this
value is approximately 4000m minus overhead amounts. On Solaris 2.6 and
x86 platforms, the upper limit is approximately 2000m minus overhead
amounts. On Linux platforms, the upper limit is approximately 2000m
minus overhead amounts. |