SAP Knowledge Base Article - Preview

2693861 - SAP Mobile Platform 3.0 upgrade fail with Java Heap Dump - java.lang.OutOfMemoryError (single or cluster nodes)

Symptom

  • Upgrading SAP Mobile Platform 3.0 from an older service pack to a newer service pack (Example: SMP 3.0 sp13 to sp 14.2)
  • Getting a Java heap dump error on a cluster of nodes (ex: Node 02,03 and 04) when upgrading the nodes to a newer version by running the silentinstall.sh script
  • Need to upgrade the system because node 1 is already upgraded to a newer SAP Mobile Platform 3.0 version (Ex: 3.0.14.2) and the remaining cluster nodes need to be upgraded as well

    Error:

    com.sap.install.smp.wizardaction.RestoreServerBackup, dbg, /opt/SAP/MobilePlatform3/backup-server-3.0.13.4/Server/configuration/com.sap.mobile.platform.server.agentry.application.SAPWM is copied to /opt/SAP/MobilePlatform3/Server/configuration/com.sap.mobile.platform.server.agentry.application.SAPWM Exception in thread "Thread-34" java.lang.OutOfMemoryError: Java heap space (failed to allocate 448 bytes)
    at com.sap.jvm.impl.vm.Allocator.newArray(Allocator.java:28)
    at java.lang.AbstractStringBuilder.toStringFromSharedOrTlca(AbstractStringBuilder.java:1607)
    at java.lang.StringBuilder.toString(StringBuilder.java:422) at java.io.UnixFileSystem.resolve(UnixFileSystem.java:108)
    at java.io.File.<init>(File.java:246) at java.io.File.listFiles(File.java:1148)
    at com.sap.install.smp.wizardaction.RestoreServerBackup.copyDir(Unknown Source)
    at com.sap.install.smp.wizardaction.RestoreServerBackup.copyDir(Unknown Source)
    at com.sap.install.smp.wizardaction.RestoreServerBackup.install(Unknown Source)
    at com.sap.install.smp.wizardaction.RestoreServerBackup.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:791)

Read more...

Environment

SAP Mobile Platform 3.0 (SP14 PL02)

Product

SAP Mobile Platform 3.0

Keywords

"SMP java.lang.OutOfMemoryError", "SAP Mobile Platform failed upgrade","upgrade Java heap","SMP 3.0 java heap dump on upgrade","SMP Agentry upgrade","com.sap.install.smp.wizardaction.RestoreServerBackup","java.io.UnixFileSystem.resolve(UnixFileSystem" , KBA , MOB-ONP , SAP Mobile Platform on Premise , MOB-ONP-AGS , SAP Mobile On Premise Agentry Server , MOB-ONP-INS , SAP Mobile On Premise Installer , Problem

About this page

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

Search for additional results

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