on 09-08-2010 5:22 PM
In Config tool I am seeing below Heapsize parameters.
-XX:MaxPermSize=512M
-XX:PermSize=512M
-Xms3072M
-XX:NewSize=340M
-XX:MaxNewSize=340M
When I went to sap notes 1303953nit show as
globalArea | -Xps
initialHeapSize | -Xms
maxHeapSize | -Xmx
maxNewSize | -XX:MaxNewSize
maxPermSize | -XX:MaxPermSize
newRatio | -XX:NewRatio
newSize | -XX:NewSize
permSize | -XX:PermSize
But somebody can explain me the meaning of NewSize, MaxNewSize, global ARea, maxNewSize, maxPermSize, permSize ?
In what way they are different from heapsize ?
Thanks
kumar
Hello Kumar,
In Brief, A JVM(Sun/HP - IBM works differently) is divided in the following parts:
Perm Area : Where all the classes are loaded
Heap Area: Where all the objects are loaded.
Heap is inturn dvidided into new area which is also called eden and the tenured area. If the objects are above certain size, they directly are stored in the tenured area. However, otherwise the objects get stored in the new area and are promoted to old/tenured area based on the jvm algorithm/logic during the GCs.
PermSize is the initial size for the perm area.
MaxPermSize is the max that can it be stretched to. We recommend keeping these two same to avoid any dynamic change of the areas.
-Xms is the initial heapsize
-Xmx or MaxHeapSize is the maximum heap that can be allocated. Again, recommendation is to keep both same.
Hope this helps.
Regards,
Snehal/SAP, Palo Alto(USA)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
There is also a general introducation in sap note 723909.
Regards,
Thunder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can find a lot of information about the JVM memoery settings and the parameters meaning just googling a little bit. You can direct to the Oracle website (which bougth Sun and therefore Java), or i.e to:
http://www.docstoc.com/docs/11550777/Java-Garbage-Collection-and-Memory-Architecture
The parameters are explained in that ppt. The note you mention is the recommendation for SAP systems
Br,
Javier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.