Symptom
You are facing below error in CRM Java system (CRM Web Channel).
"java.lang.OutOfMemoryError: Requested array size exceeds VM limit"
The detailed call stack may look like below:
"
Memory allocation error [OutOfMemoryError] occurred java.lang.OutOfMemoryError: Requested array size exceeds VM limit (failed to allocate XXXXXXX bytes) (array length YYYYYYY)
at java.lang.reflect.Array.newInstance(Array.java:52)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1658)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1332)
...
at com.sap.isa.core.xcm.init.ConfigLoader.loadPersistance(ConfigLoader.java:254)
at com.sap.isa.core.xcm.init.ConfigLoader.load(ConfigLoader.java:67)
at com.sap.isa.core.cache.Cache$RegionObject.get(Cache.java:1163)
at com.sap.isa.core.cache.Cache$Access.get(Cache.java:497)
at com.sap.isa.core.xcm.ExtendedConfigManager.getModifiedConfig(ExtendedConfigManager.java:122)
at com.sap.isa.core.xcm.scenario.ScenarioManager.init(ScenarioManager.java:86)
at com.sap.isa.core.xcm.init.ExtendedConfigInitHandler.initialize(ExtendedConfigInitHandler.java:360)
at com.sap.isa.core.init.InitializationHandler.performInitialization(InitializationHandler.java:252)
at com.sap.isa.core.init.InitializationHandler.performInitialization(InitializationHandler.java:313)
at com.sap.isa.core.init.InitializationHandler.initialize(InitializationHandler.java:223)
at com.sap.isa.core.ActionServlet.init(ActionServlet.java:123)
at javax.servlet.GenericServlet.init(GenericServlet.java:270)
at com.sap.engine.services.servlets_jsp.server.application.WebComponents.addServlet(WebComponents.java:513)
...
"
Read more...
Environment
Similar issues spotted on SAP CRM Web Channel for SAP CRM 7.0 based on NetWeaver 7.3 & 7.31
Product
Keywords
OutOfMemoryError, "Requested array size exceeds VM limit", CRM, ISA, NetWeaver Java, XCM Cache, Heap Size, -Xmx , KBA , CRM-ISA , Internet Sales , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , 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.