SAP Knowledge Base Article - Preview

2370767 - SAP JVM .sapjvmrc file creation and its uses


The aim of this Knowledge Base Article is to state the uses of the creation of .sapjvmrc file manually in the SAP JVM folder.

NOTE: Although creation of the .sapjvmrc file does help to do quick modifications on settings in the SAP environment, it is generally not recommended to use as this will overwrite all JVM settings. Any parameter additions to the .sapjvmrc file will take action everytime an SAP JVM is started from this location. Also other JVMs started from there will take the settings from .sapjvmrc. This file can't be placed somewhere else. The ideal option would be to create the JavaVM with some options, e.g. the Java heap settings,  as this can also change in the future. Another point to note is that the sapjvm folder should not get overwritten by "sapcpe"; else you will have to copy the file to the source destination to make sure that it doesn't get removed at next startup.
However, usually there are no risks to apply the mentioned flags in this KBA on any productive system. This is just a pure supportability feature and detailed analysis.




  • Release Independent
  • SAP NetWeaver
  • Business intelligence platform


SAP BusinessObjects Business Intelligence platform all versions ; SAP Composition Environment all versions ; SAP NetWeaver Application Server all versions ; SAP NetWeaver all versions ; SAP Process Integration all versions ; SAP Solution Manager all versions


.sapjvmrc manually hs_err_pid SAPINST Configtool SAP Production ABAP R/3 ERP SRM CRM ERP PPM SEM APO XI PI PORTAL Test development QA hemanth Business intelligence platform verbose class native agent libraries sapjvm_6 jre lib <processor 
-XX:+MallocStatEnableUafRecog -XX:+MallocStatUafRecogUseBackFence -XX:+MallocStatUseTrailingCushion -XX:MallocStatUafRecogBufferSize=2g  -XtraceFileIoBasic  -XX:+EnablePerThreadJavaIoInfoTracing -XtraceFile=<path to file> 2266011 exit code 67,, SAP JAVA versions, SAPJVM versions, Deployment of queue
, KBA , BC-JVM , SAP Java Virtual Machine , BI-BIP-DEP , Webapp Deployment, Networking, Vulnerabilities, Webservices , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.