SAP Knowledge Base Article - Preview

2382139 - Error during export of big tables - Java heap space using 70SWPM, for products based on NW 7.0X

Symptom

During the export of a Java system on MSSQL Server, Software Provisioning Manager tool (70SWPM, for products based on NW 7.0X) fails with the following error message:

sapinst_dev.log
Last error reported by the step: Execution of JLoad tool
'"C:\Program Files\sapinst_instdir\NW701\LM\COPY\MSS\EXP\HA\AS-JAVA\EXPDB\sapjvm_4\sapjvm_4\bin\java.exe" -classpath D:\usr\sap\<SID>\SYS\global\sltools\sharedlib\launcher.jar -showversion -Xmx1024m
com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload D:/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_jce.jar;D:/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_jsse.jar;
D:/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/<SID>/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/<SID>/SYS/global/security/lib/tools/w3c_http.jar;D:/usr/sap/<SID>/SYS/global/sltools/sharedlib;
C:\usr\sap\<SID>\<instance>\exe\mssjdbc\base.jar;C:\usr\sap\<SID>\<instance>\exe\mssjdbc\util.jar;C:\usr\sap\<SID>\<instance>\exe\mssjdbc\sqlserver.jar;C:\usr\sap\<SID>\<instance>\exe\mssjdbc\spy.jar -sec <SID>,jdbc/pool/<SID>,
D:/usr/sap/<SID>/SYS/global/security/data/SecStore.properties,D:/usr/sap/<SID>/SYS/global/security/data/SecStore.key -dataDir Y:\JAVA\JDMP -remove_trailing_blanks "C:\Program Files/sapinst_instdir/NW701/LM/COPY/MSS/EXP/HA/AS-JAVA/
EXPDB/removeTrailingBlanks.txt" -convert_empty_LOBs "C:\Program Files/sapinst_instdir/NW701/LM/COPY/MSS/EXP/HA/AS-JAVA/EXPDB/convertEmptyLobs.txt" -convert_empty_strings "C:\Program Files/sapinst_instdir/NW701/LM/COPY/MSS/EXP/
HA/AS-JAVA/EXPDB/convertEmptyStrings.txt" -convert_empty_binary "C:\Program Files/sapinst_instdir/NW701/LM/COPY/MSS/EXP/HA/AS-JAVA/EXPDB/convertEmptyBinary.txt"' aborts with return code 1. 
SOLUTION: Check 'jload.log' and 'jload.java.log' for more information


When checking both log files jload.java.log and jload.log, further details about this issue can be found:

jload.java.log
java version "1.4.2_34"
Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.064)
SAP Java Server VM (build 4.1.064 25.51-b09, Aug 2 2016 11:15:59 - 41_REL - optU - windows amd64 - 6 - bas2:274072 (mixed mode))
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
..
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded (max heap: 1024 MB)
at java.lang.Throwable.getStackTraceElement(Native Method)
..
java.lang.OutOfMemoryError: GC overhead limit exceeded (max heap: 1024 MB)
at java.lang.Thread.init(Thread.java:418)
..
java.lang.OutOfMemoryError: GC overhead limit exceeded


jload.log

06.10.16 10:36:01 com.sap.inst.jload.Jload dbExport
SEVERE: Error during export of KMC_DBRM_CONTENT

06.10.16 10:36:01 com.sap.inst.jlojloadckTrace
SEVERE: java.lang.OutOfMemoryError: Java heap space (failed to allocate 485487344 bytes) (max heap: 1024 MB)


            


Read more...

Environment

  • Software Provisioning Manager tool (70SWPM)
  • SAP systems based on SAP NetWeaver 7.0x
  • SAP system with Java stack or dual-stack
  • Database: MSSQL Server
  • MS Windows Operating System

Product

SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

Software Provisioning Manager, SWPM, 70SWPM, Installer, Installation, Install, System Copy, Copying, Migrate, Migration, Migrating, Moving, Export, Exporting, Import, Importing, Table, Database, Souce, Target, Origin, Destiny, Java, ABAP, Outofmemory, Out of memory, Upgrade, Upgrading, Jload, Jmigmon, Mapheap, Exceed, Exception, Exceeded, Overload, Overhead, Limit , KBA , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BC-INS-SWPM , Installation with Software Provisioning Manager , 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.