on 10-28-2009 1:06 PM
Hi,
We are using SAP Netweaver 2004s dual stack system which also includes Portal .when we try to access portal the java server0 is getting restarted frequently. When we checked relevant logs we came across the error OUT OF MEMORY .
Even Some time we are not able to login to Portal as it comes back to same login page with out any error Msg.
I am finding this error in Server0 Log --FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
System Configuration - Xenon 64 bit,RAM 8 GB, Paging memory 25 GB. wIDOWS 2003 Ent , Oracle 10.2 DB
Current Java parameters Settings -
servers general
-Djava.security.policy=./java.policy
-Djava.security.egd=file:/dev/urandom
-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-Dorg.xml.sax.driver=com.sap.engine.lib.xml.parser.SAXParser
-verbose:gc
-Xmx1024m
-Xms1024m
-Djco.jarm=1
-XX:PermSize=512m
-XX:MaxPermSize=512m
-XX:NewSize=320m
-XX:MaxNewSize=320m
-XX:SurvivorRatio=2
-XX:TargetSurvivorRatio=90
-XX:+PrintGCTimeStamps
-XX:+UseTLAB
-XX:SoftRefLRUPolicyMSPerMB=1
-Dsun.io.useCanonCaches=false
-Djava.awt.headless=true
-Xss2m
-XX:+UseParNewGC
-
Server 0
-Djco.jarm=1
-XX:MaxPermSize=256M
-XX:PermSize=256M
-Xms1024M
-XX:NewSize=171M
-XX:MaxNewSize=171M
-XX:+DisableExplicitGC
-verbose:gc
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Djava.awt.headless=true
-Dsun.io.useCanonCaches=false
-XX:SoftRefLRUPolicyMSPerMB=1
-XX:SurvivorRatio=2
-XX:TargetSurvivorRatio=90
-Djava.security.policy=./java.policy
-Djava.security.egd=file:/dev/urandom
-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
-
Help in this regard highly appreciated.
Hi,
Increase the value of heap size.
-Xmx1024m
-Xms1024m
Make it as
-Xmx2048m
-Xms2048m
after changing the parameter restart the application and test it , it should work.
Follow the below note , which willl help you to solve the problem of OutOfMemory problem in JAVA
723909 - Java VM settings for J2EE 6.40/7.0for more details
Thanks
Anil
Edited by: Anil Bhandary on Oct 28, 2009 2:16 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.