Summary
Symptom
Changing the Java heap size used by SDM
Example:
If you have a problem with execution please refer to note #905856.
You can see the current memory size as you execute newjdk command without parameters (or every SDM command) and look at -Xmx command line java parameter.
If you run Remote GUI on a different host from the SDM Server where you will apply the steps above, then apply only them on this host.
Changing or adding other java parameters
Java heap memory or other JVM parameters used by SDM should be adjusted.
Other terms
SDM Java heap memory
Reason and Prerequisites
In most cases the JVM heap size should be changed (increased) because of OutOfMemoryErrors caused by large processing data (large archives, configurations etc.).
There are certain scenarios and systems, which require change in some other JVM parameters except changing the heap size.
SolutionThere are certain scenarios and systems, which require change in some other JVM parameters except changing the heap size.
Changing the Java heap size used by SDM
In order to change the size of the Java heap used by SDM one should execute the SDM command newjdk as follows:
- Open a system console
- Go to /usr/sap/<SID>/<INSTANCE_ID>/SDM/program
- Run
sdm.bat newjdk "memory=<memory_size> " (for Windows)
./sdm.sh newjdk "memory=<memory_size>" (for UNIX)
Example:
./sdm.sh newjdk "memory=256"
this command will set -Xmx256M for the SDM server
If you have a problem with execution please refer to note #905856.
You can see the current memory size as you execute newjdk command without parameters (or every SDM command) and look at -Xmx command line java parameter.
If you run Remote GUI on a different host from the SDM Server where you will apply the steps above, then apply only them on this host.
In order to change or add other JVM parameters one should edit the following files and properties:
- Add the parameters to the value of sdm.JavaParameters property in /usr/sap/<SID>/<INSTANCE_ID>/SDM/program/config/sdm_jstartup.properties file
- Add the parameters to the value of sdm_java_paramsproperty in /usr/sap/<SID>/<INSTANCE_ID>/SDM/program/sdm_jdk.bat
and
/usr/sap/<SID>/<INSTANCE_ID>/SDM/program/sdm_jdk. sh files
Since NetWeaver 6.40 SP25 and NetWeaver 7.0 SP20 there is a new sdm command jvmparams, which must be used for the configuration of additional JVM parameters. It checks the validity of the parameters before updating the configuration files. For more details refer to SDM documentation available in /usr/sap/<SID>/<Instance>/SDM/program/doc/SDMCommandLineDoc_en_final.pdf.
Remark for IBM eServer iSeries (System i):
The handling is the same as on UNIX. QSH or QP2TERM can be used.
Remark for IBM eServer iSeries (System i):
The handling is the same as on UNIX. QSH or QP2TERM can be used.
Header Data
Release Status: | Released for Customer |
Released on: | 17.07.2009 10:24:44 |
Master Language: | English |
Priority: | Recommendations/additional info |
Category: | Performance |
Primary Component: | BC-CTS-SDM Software Delivery Manager for Java |
Affected Releases
|
Related Notes
No comments:
Post a Comment