Translate

Note 879377 - How to adjust the JVM parameters used by SDM?

Summary
Symptom
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.
Solution
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.
Changing or adding other java parameters
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.
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
Software
Component
Release
From
Release
To
Release
And
subsequent
SAP-JEE
60
6.40
6.40
 
SAP-JEE
7.00
7.01
7.02
 
SAP_BUILDT
6.40
6.40
6.40
 
SAP_BUILDT
7.00
7.00
7.02
 
Related Notes

 
1264514 - OutOfMemoryError in SDM and hanging RemoteGUI, JSPM, EHPI
 
905856 - Failed SDM command execution
 
851251 - (Outdated) SAP NetWeaver 2004s Installation on UNIX
 
848950 - SAP NetWeaver 2004s Installation on Windows (Obsolete)
 
723909 - Java VM settings for J2EE 6.40/7.0

No comments:

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall