cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA Heap settings for CPS

Former Member
0 Kudos

Hello Experts,

SAP recently suggested to have 8GB heap memory for CPS server node? Do we have any documentation that recommends the value split for the other JAVA memory parameters?

Eg:

-Xmx <size> : maximum size of the Java heap

-Xms <size> : initial heap size

-XX:MaxPermSize= <size> : maximum size of permanent generation

-XX:PermSize= <size> : initial size of the permanent generation

-XX:MaxNewSize= <size> : maximum size of the young generation

-XX:NewSize= <size> : initial size of the young generation

-XX:ParallelGCThreads= <val> : number of threads used by the GC

Regards,

Abhilash

Accepted Solutions (0)

Answers (1)

Answers (1)

h_carpenter
Active Contributor
0 Kudos

Hi Abhilash,

In fact, the required settings depend on quite a few factors that are implementation-specific.

As a base, you use the values as recommended by SAP:

Configuring JVM Parameters - Configuration of SAP NetWeaver CE - SAP Library

Then you can monitor the JVM and adapt these to your specific environment. See the documentation topic on memory tuning:

<server_url>/scheduler/help/admin_guide/tuning/memory_tuning.html

where <server_url> is <protocol>://<server>:<port>, such as:

http://myserver:53000/scheduler/help/admin_guide/tuning/memory_tuning.html

Regards,

HP