Index |
|
wrapper.java.maxmemory |
||||||||||
The maximum amount of memory in megabytes that the JVM will be allowed to use. The default value is "0" (zero), which will cause the JVM's default value to be used. For most JVMs, the default value is "64MB".
If a non-zero value is specified for this property, then an appropriate
-Xmx parameter will be added to the Java command generated by the Wrapper.
If specified, the maximum memory must be greater than or equal to the value set for the
wrapper.
If this property is set to "0" (zero), then it is also possible to specify
the -Xmx parameter manually using the
wrapper.
This property is provided as a convenience for most users, and also makes it possible to set relative memory sizes as described in the wrapper.
NOTE
If an application is experiencing java. NOTEWe recommend reading the following links, which describe in detail how the initial and maximum memory values affect Java performance and what can be done to improve that performance for a given application. |
wrapper.java.maxmemory.percent |
||||||||||
At times, it is necessary to set the memory thresholds relative to the amount of physical memory available on the system. This property accepts a percentage value between 1 and 100 which will translate into a size in MBs. For 32-bit versions of the Wrapper, the value will be calculated based on the minimum between the physical memory and 2048MB.
In the above example (60%), if 1GB (1024MB) of memory is installed on the system, the maximum memory will be set to 614MB (=1024 x 60%). On 32-bit versions of the Wrapper, if the machine has 4GB of memory, then the initial memory will be 1228MB (= 2048 x 60%). NOTEJava behaves very poorly if the JVM has any of its memory swapped, so it is important to take the OS requirements and any other applications into account when deciding on a safe memory level. NOTESince version 3.5.29 it is also possible to use the dynamic variable 'WRAPPER_SYSMEM_<P>' where <P> refers to the percentage of the physical memory available on the system.
For details, please see the Environment Variables page. |
Reference: Java Memory |
|
Reference: Parameters |
|