cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.OutOfMemoryError during Import java dump step

Former Member
0 Kudos

Hi Gurus,

We are performing BI Installation on our 16 GB RAM SUN SPARC server.OS : SUN SOLARIS 10.In Import Java Dump step we have been stopped with the error

*************

Execution of JLoad tool '/java-sap/j2sdk1.4.2_14/bin/java -classpath /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/launcher.jar -showversion -Xmx512m -d64 com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/lib/iaik_jce.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/jload.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/antlr.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/exception.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/jddi.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/logging.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/offlineconfiguration.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/opensqlsta.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar:/sapdb/programs/runtime/jar/sapdbc.jar -sec SBP,jdbc/pool/SBP,/usr/sap/SBP/SYS/global/security/data/SecStore.properties,/usr/sap/SBP/SYS/global/security/data/SecStore.key -dataDir /sapdb/SBP/saplog1/sapdvds/JAVADVDS/DATA_UNITS/JAVA_EXPORT_JDMP -job /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/IMPORT.XML -log jload.log' aborts with return code 1.
SOLUTION: Check 'jload.log' and '/tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/jload.java.log' for more information.

************

jload.java.log

-


java version "1.4.2_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_14-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_14-b05, mixed mode)

Oct 10, 2008 1:09:24 PM com.sap.inst.jload.Jload main
INFO: Jload -sec SBP,jdbc/pool/SBP,/usr/sap/SBP/SYS/global/security/data/SecStore.properties,/usr/sap/SBP/SYS/global/security/data/SecStore.key -dataDir /sapdb/SBP/saplog1/sapdvds/JAVADVDS/DATA_UNITS/JAVA_EXPORT_JDMP -job /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/IMPORT.XML -log jload.log
Oct 10, 2008 1:09:25 PM com.sap.inst.jload.db.DBConnection connectViaSecureStore
INFO: connected to SBP on jdbc/pool/SBP
Oct 10, 2008 1:09:26 PM com.sap.inst.jload.JobStatus readStatus
INFO: trying to read status file /tmp/sapinst_instdir/NW04S/SYSTEM/ADA/CENTRAL/AS/IMPORT.sta
Oct 10, 2008 1:09:26 PM com.sap.inst.jload.JobStatus readStatus
INFO: commencing restart
Oct 10, 2008 1:09:26 PM com.sap.inst.jload.Jload dbImport
INFO: trying to delete from table J2EE_CONFIGENTRY
Oct 10, 2008 1:09:26 PM com.sap.inst.jload.Jload dbImport
INFO: J2EE_CONFIGENTRY deleted
Oct 10, 2008 1:09:38 PM com.sap.inst.jload.Jload logStackTrace
SEVERE: java.lang.OutOfMemoryError

Oct 10, 2008 1:09:38 PM com.sap.inst.jload.db.DBConnection disconnect
INFO: disconnected

jload.log

-




10.10.08 13:09:26 com.sap.inst.jload.Jload dbImport
INFO: trying to delete from table J2EE_CONFIGENTRY

10.10.08 13:09:26 com.sap.inst.jload.Jload dbImport
INFO: J2EE_CONFIGENTRY deleted

10.10.08 13:09:38 com.sap.inst.jload.Jload logStackTrace
SEVERE: java.lang.OutOfMemoryError


10.10.08 13:09:38 com.sap.inst.jload.db.DBConnection disconnect
INFO: disconnected

****

Please , help us to solve this issue.

Thanks in Advance,

Vignesh P

Edited by: Vignesh Palaniswamy on Oct 10, 2008 2:38 PM

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

Incresing the MaxPermSize value should solve your issue,

Read

http://help.sap.com/saphelp_nw70/helpdata/en/43/54cdc48d395f6ce10000000a1553f6/content.htm

Regards

Juan

Former Member
0 Kudos

Dear Juan,

The link you have given is for the problem that occurs after the installation of the product.

But , in our case we are facing this issue during the installation.Not after that solution you have given will not help us.

Thanks,

Vignesh P

Former Member
0 Kudos

even though you can increase the memory to 1024MB and retry your installation.

cheers,

-Sunil

Former Member
0 Kudos

Hi Sunil,

How to increase the heap size?

Regards,

Vignesh P.

Former Member
0 Kudos

follow the same link to change the memory parameters using config tool.

http://help.sap.com/saphelp_nw70/helpdata/en/43/54cdc48d395f6ce10000000a1553f6/content.htm

cheers,

-SUnil

Former Member
0 Kudos

Dear Sunil,

As it the error during installation and in phase Impor Java Dump phase that link would not help us.

And more over as the error is during installation congfigtool is not yet copied / installed on the system.

Thanks,

Vignesh P

Former Member
0 Kudos

Hi,

Go to directory /usr/sap/<SID/DVEBMGS<sys no>/j2ee/configtoo

and execute configtool.sh

goto to instanace node and in that instance node and

set the following parameters .

-XX:MaxPermSize=512M

-XX:PermSize=512M

-Xmx2048M

-Xms2048M

-XX:NewSize=320M

-XX:MaxNewSize=320M

and check.

this is according to the snote : 723909

Regards,

Sekhar.

Former Member
0 Kudos

again...

The problem here i have mentioned is occurred during installation not after installation or deployment.

In simple words the /usr/sap/<SID>/DEVMG<>/j2ee folder or its content is not yet copied to the system.

Regards,

Vignesh P

Former Member
0 Kudos

Hi. Are you set SWAP space correctly? Also why you use 1.4.2._14? Try to read Note 716604 - Access to Sun J2SE and recommended J2SE options, if you have 64 version read also

Note 941595 - Download J2SE 1.4.2 for the x64 platform

Regards.

Answers (0)