Solution : https://service.sap.com/sap/support/notes/1289240 (SAP Service marketplace login required)
Summary :
In this SAP Note, an overview is provided of memory issues affecting AS Java, including failure to start or abrupt stops, typically flagged by 'exit code 666' and 'java.lang.OutOfMemoryError'. Reasons stated include insufficient memory allocation due to misconfiguration or memory leaks. Solutions involve correctly setting JVM parameters such as -XX:+HeapDumpOnOutOfMemoryError and utilizing tools like SAP Memory Analyzer for diagnostic purposes. Detailed steps are covered for checking and modifying JVM settings and generating heap dumps via tools like jvmmon and SAP Management Console, ensuring operational stability by aligning Java node memory usage with available physical memory.
Key words :
directory /usr/sap/<sid>/sys/exe/uc/<os> execute jsmon pf=/usr/sap/<sid>/sys/profile/<profile_file_name> <profile_file_name>, directory /usr/sap/<sid>/<instance>/exe/ executesapcontrol -prot ni_http -nr <instance_nr> -function j2eegetprocesslist, customer component bc-jas-mat memory analysis tools priority recommendations / additional info category, /portal/prtroot/docs/library/uuid/f0a5d007-a35f-2a10-da9f-99245623edda -, /usr/sap/<sid>/sys/exe/run/<jvm>/bin jvm, /portal/prtroot/docs/library/uuid/40244428-5703-2a10-17af-9e878922f900 - introduction, directory /usr/sap/<sid>/<instance>/j2ee/cluster/server<, org/blogs/memoryanalyzer/2008/05/27/automated-heap-dump-analysis-finding-memory-leaks-, /saphelp_nwce10/helpdata/en/e8/f48b33f9a3423c9e688dfa56330e79/frameset, <sid>_<instance>_<host>
Related Notes :
1733716 | |
1405732 | "OutOfMemoryError: Java heap space" in Web service component |