on 04-23-2010 9:53 PM
Hi All,
I having problem in NW2004s, under windows 2003 server, PI server
J2EE server works fine, but when I start communication channel and send some data J2ee engine stopped..
I checked Default.trace file log does shows this error, but heap memory is ok
FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
[EXCEPTION] #1#java.lang.OutOfMemoryError
Its keep restart byself...
I have no choice, unless I have to change JDBC adaptor automatic to manual from configtool;
com.sap.aii.adaptor.jdbc.svc
J2EE engine start and running fine. but how may i trun on communication channel again,
Please some advise
Hello,
Outofmemory occurs when either heap is exhausted or perm is exhausted. Can you paste a few lines before and after the outofmemory error from std_server* file? This will show the exact reason of what caused outofmemory. Please also mention what your current JVM configuration is wrt to MaxHeapSize and MaxPermSize.
Regards,
Snehal Bhaidasna
SAP/Palo Alto, CA(USA)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi thanks for reply
System development
Physical memory 4GB
Heap memory in server_id 2048MB
-Djco.jarm=1
-XX:MaxPermSize=512M
-XX:PermSize=512M
-Xms1024M
-Xmx1024M
-XX:NewSize=320M
-XX:MaxNewSize=320M
-XX:+DisableExplicitGC
sun.reflect.GeneratedSerializationConstructorAccessor282]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor263]
[Unloading class sun.reflect.GeneratedMethodAccessor132]
[Unloading class sun.reflect.GeneratedMethodAccessor134]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor344]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor332]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor336]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor307]
[Unloading class sun.reflect.GeneratedConstructorAccessor184]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor346]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor324]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor325]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor326]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor314]
[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor328]
: 551071K->552817K(720896K), 0.4813592 secs] 683384K->552817K(966656K), 0.4909072 secs]
75.887: [Full GC 75.887: [Tenured: 552817K->540378K(720896K), 0.7996776 secs] 552817K->540378K(966656K), [Perm : 105275K->105000K(524288K)], 0.7997737 secs]
FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
================================================================================
getThreadDump : Fri Apr 23 16:44:53 2010
FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
================================================================================
java.lang.OutOfMemoryError
Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.4.2_16-b05 mixed mode):
"Thread-60" prio=9 tid=0x0000000083028b40 nid=0x1ed8 in Object.wait() [0x000000009487f000..0x000000009487fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000034c08900> (a com.sap.tc.webdynpro.services.session.WatchDog)
at java.lang.Object.wait(Object.java:429)
at com.sap.tc.webdynpro.services.session.WatchDog$WatchDogRunnable.run(WatchDog.java:387)
- locked <0x0000000034c08900> (a com.sap.tc.webdynpro.services.session.WatchDog)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-88" prio=5 tid=0x0000000083029060 nid=0x1e20 in Object.wait() [0x000000009467f000..0x000000009467fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x000000002da85de8> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x000000002da85de8> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x000000002da85de8> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-87" prio=5 tid=0x0000000083028390 nid=0x1e1c in Object.wait() [0x000000009447f000..0x000000009447fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x000000002da85fb0> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x000000002da85fb0> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x000000002da85fb0> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-86" prio=5 tid=0x0000000083028100 nid=0x1ffc in Object.wait() [0x000000009427f000..0x000000009427fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x000000002da85de8> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x000000002da85de8> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x000000002da85de8> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-85" prio=5 tid=0x00000000830288b0 nid=0x1df0 in Object.wait() [0x000000009407f000..0x000000009407fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x000000002da85fb0> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x000000002da85fb0> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x000000002da85fb0> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"Thread-59" prio=5 tid=0x0000000083028dd0 nid=0xc08 in Object.wait() [0x0000000093c7f000..0x0000000093c7fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x000000002d6bb290> (a java.lang.Object)
at java.lang.Object.wait(Object.java:429)
at com.sap.lcr.sagent.DataQueue.get(DataQueue.java:68)
- locked <0x000000002d6bb290> (a java.lang.Object)
at com.sap.lcr.sagent.BuilderDirector.run(BuilderDirector.java:449)
"Thread-58" prio=5 tid=0x0000000083028620 nid=0x1054 in Object.wait() [0x0000000093e7e000..0x0000000093e7fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x000000004493b3b0> (a com.sap.engine.core.service630.container.ContainerEvent)
at com.sap.engine.core.service630.container.ContainerEvent.sendFinished(ContainerEvent.java:36)
- locked <0x000000004493b3b0> (a com.sap.engine.core.service630.container.ContainerEvent)
at com.sap.engine.core.service630.container.ContainerEventRegistry.addContainerEvent(ContainerEventRegistry.java:128)
at com.sap.engine.core.service630.container.ContainerEventRegistry.addContainerEvent(ContainerEventRegistry.java:82)
at com.sap.engine.core.service630.container.MemoryContainer.stopServiceRuntime(MemoryContainer.java:331)
- locked <0x000000004493b430> (a com.sap.engine.core.service630.container.ServiceStopper)
at com.sap.engine.core.service630.container.MemoryContainer.stopServiceRuntime(MemoryContainer.java:320)
at com.sap.engine.core.service630.container.MemoryContainer.stop(MemoryContainer.java:184)
- locked <0x000000002401a7f8> (a java.lang.Object)
at com.sap.engine.core.service630.container.AbstractServiceContainer.shutDown(AbstractServiceContainer.java:143)
at com.sap.engine.core.Framework.shutAllDown(Framework.java:393)
at com.sap.engine.core.Framework.shutDown(Framework.java:455)
- locked <0x000000002401a6d8> (a com.sap.engine.core.Framework)
at com.sap.engine.core.Framework.shutDown(Framework.java:441)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.boot.FrameThread.shutdown(FrameThread.java:102)
at com.sap.engine.boot.StartFrame.shutdown(StartFrame.java:163)
at com.sap.engine.boot.Start$1.run(Start.java:42)
"DSR_Write_Rate_Monitor: cwe-pi-dev.Cascade_PID_3795650" prio=5 tid=0x0000000083027e70 nid=0x1a60 waiting on condition [0x000000007d7ff000..0x000000007d7ffb80]
at java.lang.Thread.sleep(Native Method)
at com.sap.engine.services.dsr.DSRComponentImpl0$SubmitRateMonitor.run(DSRComponentImpl0.java:1496)
"SeedGenerator Thread" daemon prio=2 tid=0x0000000083027be0 nid=0x162c in Object.wait() [0x0000000093a7f000..0x0000000093a7fb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000289d02d0> (a sun.security.provider.SeedGenerator$ThreadedSeedGenerator)
at java.lang.Object.wait(Object.java:429)
at sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(SeedGenerator.java:282)
- locked <0x00000000289d02d0> (a sun.security.provider.SeedGenerator$ThreadedSeedGenerator)
at java.lang.Thread.run(Thread.java:534)
"SAPEngine_CCMSCommandConsumer_0" prio=10 tid=0x0000000083027430 nid=0x1868 in Object.wait() [0x000000008fbef000..0x000000008fbefb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394298> (a java.lang.Object)
at java.lang.Object.wait(Object.java:429)
at com.sap.engine.lib.util.concurrent.LinkedQueue.take(LinkedQueue.java:104)
- locked <0x0000000027394298> (a java.lang.Object)
at com.sapmarkets.bam.jmxadapter.CCMSCommandConsumer.run(CCMSCommandConsumer.java:38)
at java.lang.Thread.run(Thread.java:534)
"Thread-32" daemon prio=10 tid=0x00000000830271a0 nid=0x35c in Object.wait() [0x000000008f9ef000..0x000000008f9efb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394370> (a java.util.TaskQueue)
at java.util.TimerThread.mainLoop(Timer.java:429)
- locked <0x0000000027394370> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:382)
"JCO.ServerThread-84" prio=5 tid=0x0000000083026f10 nid=0xecc in Object.wait() [0x000000008f7ef000..0x000000008f7efb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-83" prio=5 tid=0x0000000082608930 nid=0x47c in Object.wait() [0x000000008f5ef000..0x000000008f5efb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-82" prio=5 tid=0x00000000826086a0 nid=0x1bf4 in Object.wait() [0x000000008f3ef000..0x000000008f3efb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-81" prio=5 tid=0x0000000082608410 nid=0x528 in Object.wait() [0x000000008f1ef000..0x000000008f1efb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-80" prio=5 tid=0x0000000082608180 nid=0x1484 in Object.wait() [0x000000008efef000..0x000000008efefb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-79" prio=5 tid=0x0000000082607ef0 nid=0x14bc in Object.wait() [0x000000008edef000..0x000000008edefb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at java.lang.Object.wait(Object.java:429)
at com.sap.mw.jco.RequestListenerGroup$RequestQueue.getRequest(RequestListenerGroup.java:719)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.loop(JCO.java:8239)
- locked <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at com.sap.mw.jco.JCO$Server.run(JCO.java:8165)
at java.lang.Thread.run(Thread.java:534)
"JCO.ServerThread-78" prio=5 tid=0x0000000082607c60 nid=0x1c34 in Object.wait() [0x000000008ebef000..0x000000008ebefb80]
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000027394450> (a com.sap.mw.jco.RequestListenerGroup$RequestQueue)
at
Hi,
The issue is not with perm definitely. Please increase the size of MaxHeapSize and -Xms to 1200M. Also, please ensure that you have the heapdump generation settings enabled as per note 1004255. Changes will need a resart. If you continue to face issues with OOM after the above changes as well, please download the MAT tool from www.eclipse.org/mat and analyze the heapdump (.hprof file) generated using this tool. This will help you identify what is causing the outofmemory. You can use the leak suspects report feature of this tool to identify the suspects.
Hope this helps.
Regards,
Snehal
SAP/ Palo Alto
but heap memory is ok
can you expalin what it means? Are you set all parameters per
note 723909 ?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.