cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Java Heap size

Former Member
0 Likes
1,713

Hi,

what is the meaning of Java heap size in XI server ?? In what way it is different from system RAM ?? On what basis we will select heap size ?? What is the importance of java heap size ??

Thanks

kumar

View Entire Topic
Former Member
0 Likes

See <a href="https://service.sap.com/sap/support/notes/723909">OSS Note 723909</a>

<a href="https://service.sap.com/sap/support/notes/710146">OSS Note 710146</a>

[url=https://service.sap.com/sap/support/notes/764215]OSS Note 764215[/url]

Former Member
0 Likes

could you plz explain me in simple words .......as you know ??

thanks

kumar

Former Member
0 Likes

Hi,

The Java heap is where the objects of a Java program live. It is a repository for live objects, dead objects, and free memory. When an object can no longer be reached from any pointer in the running program, it is considered "garbage" and ready for collection.

The JVM heap size determines how often and how long the VM spends collecting garbage. If you set a large heap size, full garbage collection is slower, but it occurs less frequently. If you set your heap size in accordance with your memory needs, full garbage collection is faster, but occurs more frequently.

-Xms<size> initial Java heap size

-Xmx<size> maximum Java heap size

These parameters which are defined in Configtool determine how much Java heap can be used of the Total RAM.

The max Java heap size should be with in the RAM so that it does not under go Paging.

Award points if helpful.

Thanks,

Tanuj