Skip to Content
0
Aug 23, 2010 at 03:38 AM

java.lang.OutOfMemoryError: Java heap space

268 Views

hi forum

i am doing a heterogeneus system copy of my ERP 6.0 with EHP4 from AIX + ORACLE to HPUX + ORACLE, the process start fine, but finisshed the phase import ABAP the process report the following error messaje:

TRACE: 2010-08-22 21:50:15 com.sap.inst.migcheck.object.ObjectCheckTask collectPackageObjects

Database specific (DB6) index 'VARIS~DB6' found in STR file for 'SAPAPPL2' package.

ERROR: 2010-08-22 21:50:41 com.sap.inst.migcheck.object.ObjectCheckTask run

Fatal exception during execution of the Object Checker.

java.lang.OutOfMemoryError: Java heap space

at java.lang.String.substring(String.java:1692)

at java.util.StringTokenizer.nextToken(StringTokenizer.java:262)

at com.sap.inst.lib.util.TextUtils.split(TextUtils.java:43)

at com.sap.inst.lib.util.TextUtils.getWords(TextUtils.java:94)

at com.sap.inst.migcheck.object.ObjectCheckTask.collectPackageTaskStates(ObjectCheckTask.java:832)

at com.sap.inst.migcheck.object.ObjectCheckTask.processPackage(ObjectCheckTask.java:541)

at com.sap.inst.migcheck.object.ObjectCheckTask.checkObjectProcessing(ObjectCheckTask.java:469)

at com.sap.inst.migcheck.object.ObjectCheckTask.doRun(ObjectCheckTask.java:300)

at com.sap.inst.migcheck.object.ObjectCheckTask.run(ObjectCheckTask.java:177)

at com.sap.inst.migcheck.MigrationChecker.startAppJob(MigrationChecker.java:201)

at com.sap.inst.lib.app.CommandLineApp.doMain(CommandLineApp.java:111)

at com.sap.inst.migcheck.MigrationChecker.main(MigrationChecker.java:222)

INFO: 2010-08-22 21:50:41

Object Checker is stopped.

reviewing note in sap marketplace not apply none to this error, i tried to change the memory parameters to java as are:

./java -Xmx2048m -Xms2048m but the system report error.

Invalid maximum heap size: -Xmx2048m-Xms2048m

Could not create the Java virtual machine.

How i can do the continue the process, because all the process of the import ABAP finisshed fine? and there aren't errors in the TSK files not in the logs of each R3load process.

your collaboration is very important, this pilot is essential to us organization.

Jair