- 论坛徽章:
- 0
|
On AIX 5.2 or later
If the heap size is 3 GB or greater, LDR_CNTRL=MAXDATA=0@DSA is set.
If the heap size is between 2.3 GB and 3 GB, LDR_CNTR=MAXDATA=0XB0000000@DSA is set.
If the heap size is less than 2.3 GB, LDR_CNTR=MAXDATA=0XA0000000@DSA is set.
也就是说如果在系统里设置了LDR_CNTRL=MAXDATA=0@DSA 那么就可以用到3G以上内存了.
On AIX 5.1
Although the very large address-space model is also available on AIX 5.1, the implementation differs. Consequently, the 1.4.1 SDK does not support the use of the very large address-space model on AIX 5.1. The JVM still sets LDR_CNTRL=MAXDATA based on the maximum size of the heap, but does not use the very large address-space model.
If the heap size is greater than 1 GB, LDR_CNTRL=MAXDATA is set to an appropriate value. Note that this is an inverse relationship because as the heap size increases, fewer segments are reserved through the LD_CNTRL=MAXDATA value. For example, for a 1 GB heap LDR_CNTRL=MAXDATA is set to 0X60000000, while for a 1.5 GB heap, the LDR_CNTRL=MAXDATA value is 0X40000000.
If the heap size is smaller than 1 GB, LDR_CNTRL=MAXDATA is set to 0X80000000
如果要用到大的segment,就是把 LDR_CNTRL=MAXDATA 所指定的heap size 设置得小些. |
|