Java.lang.OutOfMemoryError on starting weblogic
Weblogic dies quickly when i try to start it. The only message is java.lang.OutOfMemoryError
in the TransactionProcessor thread.
Killing the domain the reconfiguring the domain seems to fix the problem temporarily.
But after some time it starts to happen again. The machine has 1G memory and the
only other application is running is Eclipse.
Is there any fix for this problem ?
Thanks in advance
-vasanth
try using the -mx and -ms (I think) java switches to increase the amount of
memory weblogic is allowed to use
it doesnt matter how much memory your hardware has if you don't allow java
to use it.
"Vasanth Subramanian" <[email protected]> wrote in
message news:[email protected]..
>
Weblogic dies quickly when i try to start it. The only message isjava.lang.OutOfMemoryError
in the TransactionProcessor thread.
Killing the domain the reconfiguring the domain seems to fix the problemtemporarily.
But after some time it starts to happen again. The machine has 1G memoryand the
only other application is running is Eclipse.
Is there any fix for this problem ?
Thanks in advance
-vasanth
Similar Messages
-
Java.lang.OutOfMemoryError when starting Weblogic
Hello,
I am getting the following out of meemory when starting my local weblogic server using Ant. Any idea's on why this is happening and how I can correct it?
Thanks, Brian
[java] java version "1.4.0_02"
[java] Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02)
[java] Buildfile: C:\expenselink\bin\build.xml
[java] Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode)
[java]
[java] wlrun.private_development:
[java] [wls] java version "1.4.0_02"
[java] [wls] Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02)
[java] [wls] Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode)
[java] [wls] [GC 8127K->1122K(130112K), 0.0152757 secs]
[java] [wls] Starting WebLogic Server...
[java] [wls] <Oct 18, 2002 2:24:40 PM CDT> <Info> <Management> <141089> <Bootstrapping Server based on WebLog
ic Server 6.X configuration directory structure.>
[java] [wls] [GC 9250K->1834K(130112K), 0.0201794 secs]
[java] [wls] [Full GC 2037K->1817K(130112K), 0.0639551 secs]
[java] [wls] [GC 10360K->3046K(130176K), 0.0128921 secs]
[java] [wls] [GC 11238K->3947K(130176K), 0.0238743 secs]
[java] [wls] <Oct 18, 2002 2:24:43 PM CDT> <Notice> <Management> <140005> <Loading configuration C:\expenseli
nk\weblogic\.\config\mydomain\config.xml>
[java] [wls] [GC 12137K->4563K(130176K), 0.0201763 secs]
[java] [wls] [GC 12755K->4900K(130176K), 0.0123613 secs]
[java] [wls] [GC 13091K->5156K(130176K), 0.0069405 secs]
[java] [wls] [GC 13348K->5525K(130176K), 0.0112204 secs]
[java] [wls] [GC 13717K->5762K(130176K), 0.0100256 secs]
[java] [wls] [GC 13948K->5754K(130176K), 0.0060745 secs]
[java] [wls] [GC 13946K->5804K(130176K), 0.0042282 secs]
[java] [wls] <Oct 18, 2002 2:24:46 PM CDT> <Warning> <Management> <141087> <Unrecognized property: system.hom
e>
[java] [wls] [GC 13996K->5980K(130176K), 0.0054809 secs]
[java] [wls] [GC 14172K->6173K(130176K), 0.0065056 secs]
[java] [wls] [Full GC 13232K->6252K(130176K), 0.1378751 secs]
[java] [wls] <Oct 18, 2002 2:24:47 PM CDT> <Info> <Logging> <000000> <FileLogger Opened at C:\expenselink\web
logic\config\mydomain\logs\weblogic.log>
[java] [wls] [GC 14444K->8509K(130176K), 0.0144854 secs]
[java] [wls] [GC 11767K->8678K(130176K), 0.0058049 secs]
[java] [wls] [Full GC 8678K->8678K(130176K), 0.1476959 secs]
[java] [wls] [Full GC[Unloading class sun.reflect.GeneratedMethodAccessor7]
[java] [wls] [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor31]
[java] [wls] [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor37]
[java] [wls] [Unloading class sun.reflect.GeneratedMethodAccessor14]
[java] [wls] [Unloading class sun.reflect.GeneratedConstructorAccessor24]
[java] [wls] [Unloading class sun.reflect.GeneratedConstructorAccessor12]
[java] [wls] [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor18]
[java] [wls] [Unloading class sun.reflect.GeneratedConstructorAccessor20]
[java] [wls] [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor55]
[java] [wls] [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor50]
[java] [wls] 8678K->7500K(251136K), 0.8280038 secs]
[java] [wls] java.lang.OutOfMemoryErrorAs things would turn out added memory just caused it to fill up more memory. The problem was with accessing a file. Once I deleted to mydomain tree I was able to start the webserver again. Thanks for your help.
-
Hi All: Our platform is IBM AIX power system 64 bit, os level 6. Oracle Fusion Middleware version is 10.3.6.0.8. We tried to patch 10.3.6.0.10 on it, but encounter ‘out of memory error’ when applied WebLogic patch 10.3.6.0.10 on UAT report server. Currently UAT has 3GB memory (currently is 3G) .
JVMDUMP006I Processing dump event "systhrow",
detail "java/lang/OutOfMemoryError
JVMDUMP032I JVM requested Heap dump using
'/ora_bin01/u01/oracle/Middleware/utilhd' in response to an event
JVMDUMP010I Heap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/heapdump.20150224.152727.6422620.0001.phd
JVMDUMP032I JVM requested Java dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152727.6422620.0002.txt'
in response to an event
JVMDUMP010I Java dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152727.6422620.0002.txt
JVMDUMP032I JVM requested Snap dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152727.6422620.0003.trc'
in response to an event
JVMDUMP006I Processing dump event "systhrow",
detail "java/lang/OutOfMemoryError" - please wait.
JVMDUMP010I Snap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152727.6422620.0003.trc
JVMDUMP013I Processed dump event "systhrow",
detail "java/lang/OutOfMemoryError".
JVMDUMP032I JVM requested Heap dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/heapdump.20150224.152735.6422620.0004.phd'
in response to an event
JVMDUMP010I Heap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/heapdump.20150224.152735.6422620.0004.phd
JVMDUMP032I JVM requested Java dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152735.6422620.0005.txt'
in response to an event
JVMDUMP010I Java dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/javacore.20150224.152735.6422620.0005.txt
JVMDUMP032I JVM requested Snap dump using
'/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152735.6422620.0006.trc'
in response to an event
Exception in thread "main"
java.lang.OutOfMemoryError at
java.lang.StringBuffer.ensureCapacityImpl(StringBuffer.java:335)
at
java.lang.StringBuffer.append(StringBuffer.java:201)
at
java.lang.Class.throwNoSuchMethodException(Class.java:278)
at
java.lang.Class.getMethod(Class.java:845)
at
com.bea.cie.common.dao.xbean.XBeanDataHandler.isValueSet(XBeanDataHandler.java:958)
at
com.bea.cie.common.dao.xbean.XBeanDataHandler.getValueFromObject(XBeanDataHandler.java:589)
at
com.bea.cie.common.dao.xbean.XBeanDataHandler.getSimpleValue(XBeanDataHandler.java:431)
at
com.bea.plateng.patch.dao.cat.PatchDependency.getRule(PatchDependency.java:48)
at
com.bea.plateng.patch.dao.cat.PatchCatalogHelper.getInvalidatedPatchMap(PatchCatalogHelper.java:1625)
at com.bea.plateng.patch.PatchSystem.updatePatchCatalog(PatchSystem.java:436)
at
com.bea.plateng.patch.PatchSystem.refresh(PatchSystem.java:130)
at
com.bea.plateng.patch.PatchSystem.setCacheDir(PatchSystem.java:201)
at
com.bea.plateng.patch.Patch.main(Patch.java:281)
JVMDUMP010I Snap dump written to
/ora_bin01/u01/oracle/Middleware/utils/bsu/Snap.20150224.152735.6422620.0006.trc
JVMDUMP013I Processed dump event "systhrow",
detail "java/lang/OutOfMemoryError".
Exception in thread "Attach API wait loop"
java.lang.OutOfMemoryError
at
com.ibm.tools.attach.javaSE.CommonDirectory.waitSemaphore(CommonDirectory.java:222)
at
com.ibm.tools.attach.javaSE.AttachHandler$WaitLoop.waitForNotification(AttachHandler.java:329)
at com.ibm.tools.attach.javaSE.AttachHandler$WaitLoop.run(AttachHandler.java:396)
bsu.sh -install -patch_download_dir=/ora_bin01/u01/oracle/Middleware/utils/bsu/cache_dir -patchlist=12UV -prod_dir=/ora_bin01/u01/oracle/Middleware/wlserver_10.3
we followed the README.txt instructions, and stop/start weblogic service before/after apply patch. Can anyone suggest a solution or Doc ID for helping us?
thank you very much!Solutions: Bounce the applications and check the arguments if you can increase it. It is due to memory issue
You can set these values in CommEnv.sh (.cmd for windows) file located in the weblogic_home/common/bin directory.
This gets applied to all the domains under that wls home.
If you want to make the changes to specific domain then edit the SetDomainEnv.sh file located under the domain/bin directory.
How to solve java.lang.OutOfMemoryError: Java heap space
solutions: export JVM_ARGS="-Xms1024m -Xmx1024m"
How to solve java.lang.OutOfMemoryError: PermGen space
solution : export JVM_ARGS="-XX:PermSize=64M -XX:MaxPermSize=256m" -
Java heap space java.lang.OutOfMemoryError coming in weblogic server
Hi All,
I am getting following out of memory exception on BCC server start up.
<Nov 13, 2013 3:17:09 AM IST> <Critical> <Health> <BEA-310003> <Free memory in the server is 1,134,688 bytes. There is danger of OutOfMemoryError>
Exception in thread "Timer-2" java.lang.OutOfMemoryError: Java heap space
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.<init>(ArrayList.java:131)
at javax.jmdns.impl.DNSCache.getCacheNodes(DNSCache.java:223)<Nov 13, 2013 3:17:28 AM IST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:48)
at java.util.TimerThread.mainLoop(Timer.java:512) java.lang.OutOfMemoryError: Java heap space.
java.lang.OutOfMemoryError: Java heap space
at java.util.TimerThread.run(Timer.java:462)
at java.lang.reflect.Array.newArray(Native Method)
Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: Java heap space
at java.lang.reflect.Array.newInstance(Array.java:52) at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Array.java:52)
at java.util.AbstractCollection.toArray(AbstractCollection.java:159) at java.util.AbstractCollection.toArray(AbstractCollection.java:159)
at java.util.Collections$SynchronizedCollection.toArray(Collections.java:1569)
at atg.service.jdbc.FakeXAResource.recover(FakeXAResource.java:430)
at weblogic.transaction.internal.XAServerResourceInfo.recover(XAServerResourceInfo.java:1019) at java.util.Collections$SynchronizedCollection.toArray(Collections.java:1569)
at weblogic.transaction.internal.ServerSCInfo.recover(ServerSCInfo.java:645)
at weblogic.transaction.internal.XAResourceDescriptor.getXidsToBeRolledBack(XAResourceDescriptor.java:1137)
at atg.service.jdbc.FakeXAResource.recover(FakeXAResource.java:430)
at weblogic.transaction.internal.XAResourceDescriptor.recover(XAResourceDescriptor.java:1073)
at weblogic.transaction.internal.XAResourceDescriptor.access$100(XAResourceDescriptor.java:60)
at weblogic.transaction.internal.XAResourceDescriptor$2.run(XAResourceDescriptor.java:823)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Truncated. see log file for complete stacktrace
I think this can't be issue with following variables:As I hv set them from 64m to 256, still issue coming.
WLS_MEM_ARGS_32BIT=-Xms200m -Xmx256m
MEM_PERM_SIZE_32BIT=-XX:PermSize=200m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
Any suggestion.
Thanks,
Nitin.making it 512 temporarily working fine, but my concern was something must have been eating all the memory.
I did run bcc with 128 MB and deployed lots of initial data too, didn't face the issue in recent past with same versions and same build size.
ATG:10.2
Weblogic: 10.3.5
JDK:1.6.0_25
One more info:
my build size is around 200 MB
I m not running productionAgent,But I didn't make that essential while setting agent.
Can that be issue that some Manager trying to hit the server continuously and eating the memory.
Can not running the agent server, eat substantial memory?
**** Warning
Wed Nov 13 04:25:21 IST 2013
1384296921718 /atg/epub/DeploymentServer
Failed to connect to agent 'ProdcutionAgent'. This agent not allowed to be absent for a deployment. The server will continue attempts to intialize the connection. Set loggingDebug to true for continued exception and stacktrace logging.
@others:
BCC Server memory parameters:
WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
Production Server memory parameters:
WLS_MEM_ARGS_32BIT=-Xms200m -Xmx256m
MEM_PERM_SIZE_32BIT=-XX:PermSize=64m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=128m -
Java.lang.OutOfMemoryError while starting Standalone Reports Server
I am trying to start a standalone report server on AIX box, but is giving following error
bash-3.00$ rwserver.sh server=repservername &
java.lang.OutOfMemoryError: JVMXE006:OutOfMemoryError, stAllocAor executeJava failed
kindly helpwas able to solve this
there was corruption of reports config file -
Java.lang.SecurityException: while starting weblogic server
Hi,
I added a admin server on m/c 1 and a remote managed server on m/c 2. When i tried to start the admin server and the managed server and ping it using jmx, it get the following security error:
Any help regd. this would be appreciated.
Thanks,
beauser2005
<Oct 29, 2004 2:14:38 PM PDT> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.rmi.internal.BasicServerRef@10c - hostID: '-833462563406253632S:172.20.30.37:[7001,7001,-1,-1,7001,-1,-1,0,0]:mydomain10:myserver10', oid: '268', implementation: 'weblogic.management.internal.RemoteMBeanServerImpl@191f022'
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators].
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:680)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:187)
at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:827)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:300)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:996)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:917)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:225)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:794)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)was able to solve this
there was corruption of reports config file -
This problem happens after about 10-15 application restarts during development phase. I have read somewhere that this was a known bug in 11g versions of JDev and its integrated WLS (10.3.5 or 10.3.6?). I have then increased memory parameters in configuration file. The only thing I achieved is that this crash now occurs later then sooner. Still very frustrating. When this happens I have to restart WLS and sometimes kill frozen JDeveloper.
Any other idea/workaround?
<Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-FwkExtensions-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
<Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-ViewController-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
<Dec 30, 2013 12:37:22 PM CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl failed: java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
Truncated. see log file for complete stacktrace
>
<Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1388428621416" for task "10". Error is: "weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space"
weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
Truncated. see log file for complete stacktrace
>
<Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application "ADFOracleReports".>
<Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ADFOracleReports".>
<Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
Truncated. see log file for complete stacktrace
>
[12:37:53 PM] Cancel requested
[Application ADFOracleReports stopped and undeployed from IntegratedWebLogicServer]
<Dec 30, 2013 12:37:53 PM CST> <Error> <Deployer> <BEA-149062> <The task containing ID 10 cannot be canceled, since it has already completed execution.>
<Dec 30, 2013 12:37:53 PM CST> <Warning> <RMI> <BEA-080003> <A RuntimeException was generated by the RMI server: javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;Ljava.rmi.MarshalledObject;[Ljava.lang.String;Ljavax.security.auth.Subject;)
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution..
javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:375)
Truncated. see log file for complete stacktrace
Caused By: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
at weblogic.management.deploy.DeploymentTaskRuntime.prepareToCancel(DeploymentTaskRuntime.java:881)
at weblogic.management.deploy.DeploymentTaskRuntime.cancel(DeploymentTaskRuntime.java:854)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Truncated. see log file for complete stacktrace
>You can try to change the garbage collector algorithm. Refere to http://bexhuff.com/2012/09/jdeveloper-memory-and-performance
Timo -
Java.lang.OutOfMemoryError(Native Method)
Hello Everybody,
We hava a java.lang.OutOfMemoryError,the problem weblogic server installed in windows 2003 x64,weblogic version 9.2 MP1,sun jdk 1.5.0_22 32bit,the memory configuration below:
set MEM_ARGS=-server -Xms1024m -Xmx1024m -verbose:gc -Xloggc:%SERVER_NAME%_GC.log -XX:SurvivorRatio=3 -XX:NewSize=512M -XX:MaxNewSize=512M -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:+HeapDumpOnCtrlBreak -XX:+HeapDumpOnOutOfMemoryError
if "%JAVA_VENDOR%"=="Sun" (
set MEM_ARGS=%MEM_ARGS% %MEM_DEV_ARGS% -XX:MaxPermSize=512m
The error in log below:
####<2013-2-16 上午11时08分15秒 CST> <Error> <Kernel> <CWGK-APP-2> <node2> <[STANDBY] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1360984095564> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError.
java.lang.OutOfMemoryError
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(RandomAccessFile.java:315)
at weblogic.diagnostics.archive.FileUtils.readFile(FileUtils.java:46)
at weblogic.diagnostics.archive.filestore.FileIndexMetaInfo.buildIndex(FileIndexMetaInfo.java:403)
at weblogic.diagnostics.archive.filestore.FileIndexMetaInfo.buildIndex(FileIndexMetaInfo.java:319)
at weblogic.diagnostics.archive.filestore.FileDataArchive.computeFullIndices(FileDataArchive.java:521)
at weblogic.diagnostics.archive.filestore.FileDataArchive.computeIndices(FileDataArchive.java:629)
at weblogic.diagnostics.archive.filestore.FileDataIndexer$IndexCommand.run(FileDataIndexer.java:199)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
How can i solution the problem?
Please help.Need more log information to diagnose it.
Kinds,
Gabriel Abelha -
Weblogic server start error: java.lang.OutOfMemoryError
Hi:
when i start weblogic server, i met following error !
java.lang.OutOfMemoryError
<<no stack trace available>>
why?
thanks!
starting output as follow :
C:\bea7\user_projects\zhudomain>startweblogic
C:\bea7\user_projects\zhudomain>echo off
CLASSPATH=C:\bea7\jdk131_03\lib\tools.jar;C:\bea7\weblogic700\integration\li
b\wl
pi-worklist.jar;C:\bea7\weblogic700\samples\server\eval\pointbase\lib\pbserv
er42
ECF172.jar;C:\bea7\weblogic700\server\lib\weblogic_sp.jar;C:\bea7\weblogic70
0\se
rver\lib\weblogic.jar;
PATH=.;C:\bea7\weblogic700\server\bin;C:\bea7\jdk131_03\bin;C:\PROGRA~1\RATI
ONAL
\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PRO
GRA~
1\RATIONAL\RATION~1\NUTCROOT\mksnt;c:\Oracle\Ora81\bin;C:\WINNT\system32;C:\
WINN
T;C:\WINNT\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\CTEX\MiKTeX\TeXMF\miktex\bi
n;C:
\CTEX\MiKTeX\LocalT~1\cct\bin;C:\Program Files\Rational\common;C:\Program
Files\
Rational\ClearQuest;C:\Program Files\Rational\Rose\TopLink\;C:\Program
Files\Rat
ional\Rational Test;C:\bea7\jdk131_03\bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://[hostname]:[port]/console *
C:\bea7\user_projects\zhudomain>"C:\bea7\jdk131_03\bin\java" -hotspot -Xms32
m -X
mx200m -Dweblogic.security.SSL.trustedCAKeyStore=C:\bea7\weblogic700\server\
lib\
cacerts -Dweblogic.Name=myserver -Dbea.home="C:\bea7" -Dweblogic.management.
user
name= -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled= -Dja
va.s
ecurity.policy="C:\bea7\weblogic700\server\lib\weblogic.policy"
weblogic.Server
<2002-11-13 ÏÂÎç04ʱ21·Ö01Ãë> <Info> <Security> <090065> <Getting boot
identity
from user.>
Enter username to boot WebLogic server:system
Enter password to boot WebLogic server:
Starting WebLogic Server...
<2002-11-13 ÏÂÎç04ʱ21·Ö08Ãë> <Notice> <Management> <140005> <Loading
configurat
ion C:\bea7\user_projects\zhudomain\.\config.xml>
java.lang.OutOfMemoryError
<<no stack trace available>>
Hi JLK,
Now as you can see that you are getting "java.lang.OutOfMemoryError: PermGen space" during the activation on an application it means that you are application needs more space in the non-heap part of the JVM which is PermGen to create the Classes, Class Structures, Methods and Reflection Objects of this applications hence you are getting this issue.
Now how to solve this issue you try the following check list which would help you resolve this issue and overcome same type of issue in future
1). Make Sure that the PermGen Area is not set to a very less value.
2). Usually if an Application has Many JSP Pages in that case every JSP will be converted to a *.class file before JSP Request Process. So a large number of JSPs causes generation of a Large number of *.class files all these classes gets loaded in the PermGen area.
3). While allocating the -XX:MaxPermSize make sure that you follow a rough Formula… which works in most of the Application Servers.
MaxPermSize = (Xmx/3) —- Very Special Cases (One Third of maximum Heap Size)
MaxPermSize = (Xmx/4) —- Recommended (One Fourth Of maximum Heap Size
To get more information on this I would suggest you to have look at the below link which would surely help you in this case
Topic: OutOfMemory Causes and First Aid Steps?
http://middlewaremagic.com/weblogic/?p=4464
Regards,
Ravish Mody -
Java.lang.OutOfMemoryError: PermGen space error while creat weblogic domain
Hi,
OBIEE 11g installing in Linux server now. domain creation is in progress for about an hour and in log I can see below error.
Creating a new AdminServer Object ...
AdminServer port is 7001
Starting the domain ...
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
domain creation is still running and looks like it is struck to start domain no idea how to solve the issue. waiting to see whether domain creation successful.
I was searching on web and found below solution but no idea how to do it in Linux server. Please provide detail instructions to do it.
* java.lang.OutOfMemoryError: PermGen space
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
Solution: Increase the max permgen space -XX:MaxPermSize=256m
There can be a leak in the permgen objects. If tuning parameters do not resolve the issue, we need to use the memory leak detector tools and find out which instances in the permgen space are not getting cleared.
Refer: http://weblogic-wonders.com/weblogic/2010/12/30/different-out-of-memory-issues/
Appreciate for your help.
Thanks
Jay.Hi,
The script that configures the domain $DOMAIN_HOME/bin/setDomainEnv.sh... it should detect you are using JDK from Sun (JAVA_VENDOR="Sun") and add -XX:MaxPermSize=512m automatically...
Simple solution, use JRockit... This problem only occurs with Sun JDK...
Alternatively, add manually -XX:MaxPermSize=512m to the last JAVA_PROPERTIES in setDomainEnv.sh then you will be sure it is there...
Cheers,
Vlad -
Weblogic Server -- java.lang.OutOfMemoryError
This is our production environment.
We have deployed a Integration Application (EAR) on weblogic integration server. this is running in single server instance.there is no clustering (we have limitation from connection system to WLI)
We get java.lang.OutOfMemoryError for every fortnight.
we have allocated 2GB memory to the server using startup script.unix server has 8GB memory.
automatic garbage collection happens properly for some days (for a week) .. We mean memory usage is between 1GB to 2GB .
We would like to know what is the reason for getting java.lang.OutOfMemoryError
Thanks & Regards
WLI teamI am working in weblogic.
whenever the power goes off ,the server is not gets starting ,it says
java.lang.OutOfMemoryError
<<no stack trace available>>
the domain is not working,
so i am creating a new domain,and i am working.
pls. tell me how to rectify this problem
thanks in advance -
Java.lang.OutOfMemoryError: PermGen space in Weblogic 10.3
Hi,
I Installed OIM in Oracle Weblogic 10.3.When I try to execute the patch_weblogic.cmd ,I am getiing the "java.lang.OutOfMemoryError: PermGen space".I tried increasing the size in xlStartWLS.cmd file.But still the error exists.Any ide?.Following is the error trace:
wldeploy] Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260009]Exception caught for class 'weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl' while attempting to create DeploymentManager: java.lang.OutOfMemoryError: PermGen space
[wldeploy] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130)
[wldeploy] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
[wldeploy] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446)
[wldeploy] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:304)
[wldeploy] ... 32 more
[wldeploy] Caused by: java.lang.OutOfMemoryError: PermGen space
[wldeploy] at java.lang.Class.getDeclaredMethods0(Native Method)
[wldeploy] at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
[wldeploy] at java.lang.Class.getDeclaredMethod(Class.java:1935)
[wldeploy] at java.io.ObjectStreamClass.getInheritableMethod(ObjectStreamClass.java:1349)
[wldeploy] at java.io.ObjectStreamClass.access$2200(ObjectStreamClass.java:52)
[wldeploy] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:448)
[wldeploy] at java.security.AccessController.doPrivileged(Native Method)
[wldeploy] at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413)
[wldeploy] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
[wldeploy] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
[wldeploy] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
[wldeploy] at weblogic.rjvm.OutboundMsgAbbrev.writeObject(OutboundMsgAbbrev.java:77)
[wldeploy] at weblogic.rjvm.OutboundMsgAbbrev.writeAbbrevs(OutboundMsgAbbrev.java:56)
[wldeploy] at weblogic.rjvm.OutboundMsgAbbrev.write(OutboundMsgAbbrev.java:39)
[wldeploy] at weblogic.rjvm.MsgAbbrevJVMConnection.writeMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
[wldeploy] at weblogic.rjvm.MsgAbbrevJVMConnection.sendMsg(MsgAbbrevJVMConnection.java:180)
[wldeploy] at weblogic.rjvm.MsgAbbrevJVMConnection.sendMsg(MsgAbbrevJVMConnection.java:142)
[wldeploy] at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1465)
[wldeploy] at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:437)
[wldeploy] at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
[wldeploy] at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
[wldeploy] at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
[wldeploy] at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
[wldeploy] at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
[wldeploy] at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
[wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[wldeploy] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:315)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:285)
[wldeploy] at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
[ant] Exiting C:\oim910\oimserver\xellerate\setup\weblogic-setup.xml.
java.lang.OutOfMemoryError: PermGen space
at org.apache.tools.ant.DefaultLogger.formatTime(DefaultLogger.java:276)
at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:156)
at org.apache.tools.ant.Project.fireBuildFinished(Project.java:1848)
at org.apache.tools.ant.Main.runBuild(Main.java:688)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.Main.start(Main.java:150)
at org.apache.tools.ant.Main.main(Main.java:240)
PermGen space
Any input is highly appreciated.Thanks# Increase MaxPerm size
eg: -XX:+MaxPermSize=256m
# These additional parameters may also be helpful in some cases.
eg: -Xmn1228m -XX:+AggressiveHeap -Xms2048m -Xmx2048m -
WebLogic startup --- java.lang.OutOfMemoryError
Hello,
after many Error's i get now this trace.
Until now, i fixed the MBean error, and the Permgen error. [Link | https://kr.forums.oracle.com/forums/thread.jspa?threadID=2306365 ]
But now i get this ... and google dont help me with the printed errors.
Does anyone of you got a hint for me?
greets Jens
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.7.0_19"
OpenJDK Runtime Environment (rhel-2.3.9.1.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Starting WLS with line:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/bin/java -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/oracle/wlserver_12.1/server/lib/weblogic.policy -Djava.endorsed.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/jre/lib/endorsed:/opt/oracle/wlserver_12.1/endorsed -da -Dplatform.home=/opt/oracle/wlserver_12.1 -Dwls.home=/opt/oracle/wlserver_12.1/server -Dweblogic.home=/opt/oracle/wlserver_12.1/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/oracle/patch_wls1211/profiles/default/sysext_manifest_classpath:/opt/oracle/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
<May 27, 2013 2:56:51 PM CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<May 27, 2013 2:56:51 PM CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<May 27, 2013 2:56:51 PM CEST> <Notice> <WebLogicServer> <BEA-000395> <The following extensions directory contents added to the end of the classpath:
/opt/oracle/user_projects/domains/weblogic/lib/hsql.jar:/opt/oracle/user_projects/domains/weblogic/lib/portal-service.jar:/opt/oracle/user_projects/domains/weblogic/lib/portlet.jar.>
<May 27, 2013 2:56:52 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 23.7-b01 from Oracle Corporation.>
<May 27, 2013 2:56:53 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
<May 27, 2013 2:56:56 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<May 27, 2013 2:56:56 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<May 27, 2013 2:56:56 PM CEST> <Notice> <LoggingService> <BEA-320400> <The log file /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
<May 27, 2013 2:56:56 PM CEST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log00012. Log messages will continue to be logged in /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log.>
<May 27, 2013 2:56:56 PM CEST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<May 27, 2013 2:57:01 PM CEST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<May 27, 2013 2:57:05 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<May 27, 2013 2:57:05 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
May 27, 2013 2:57:22 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Detected server weblogic
Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/system.properties
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Global shared lib directory /opt/oracle/modules/
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Global lib directory /opt/oracle/user_projects/domains/weblogic/lib/
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Portal lib directory /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/
May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
INFO: Properties for portal loaded from [file:/opt/oracle/user_projects/domains/portal-ext.properties, zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/portal.properties]
Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/opt/oracle/user_projects/domains/portal-ext.properties
<May 27, 2013 2:57:58 PM CEST> <Warning> <HTTP> <BEA-101342> <liferay_Deployment: Error(s) encountered while precompiling JSP jspURI
configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
<%@ include file="/html/portlet/asset_publisher/init.jsp" %>
^--------------------------------------^
>
<May 27, 2013 2:57:59 PM CEST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: javax.crypto, referenced from: /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/_wl_cls_gen.jar]. Ensure that the referenced optional package has been deployed as a library.>
14:58:20,366 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:71] Determine dialect for Oracle 11
14:58:20,556 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:136] Found dialect org.hibernate.dialect.Oracle10gDialect
May 27, 2013 2:58:33 PM net.sf.ehcache.Cache initialise
WARNING: Cache: com.liferay.portal.service.impl.PortletLocalServiceImpl has a maxElementsInMemory of 0. In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
May 27, 2013 2:59:17 PM org.quartz.impl.StdSchedulerFactory instantiate
INFO: Using default implementation for ThreadExecutor
^X ^X^X^X^XException in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
>
<May 27, 2013 2:57:59 PM CEST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: javax.crypto, referenced from: /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/_wl_cls_gen.jar]. Ensure that the referenced optional package has been deployed as a library.>
14:58:20,366 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:71] Determine dialect for Oracle 11
14:58:20,556 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:136] Found dialect org.hibernate.dialect.Oracle10gDialect
May 27, 2013 2:58:33 PM net.sf.ehcache.Cache initialise
WARNING: Cache: com.liferay.portal.service.impl.PortletLocalServiceImpl has a maxElementsInMemory of 0. In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
May 27, 2013 2:59:17 PM org.quartz.impl.StdSchedulerFactory instantiate
INFO: Using default implementation for ThreadExecutor
^X ^X^X^X^XException in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
Edited by: 1008097 on 28.05.2013 00:12I think you should consider increasing heap size and check whether you still face the OOM. In addition to that you can consider implementing GC logging using: -verbose:gc -XX:PrintGCTimeStamps and other parameters..
http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
You can consider implementing -XX:HeapDumpOnOutOfMemory or capture heap dump using jmap etc and check out the contents in the heap using MAT to understand the possible suspects.
https://blogs.oracle.com/alanb/entry/heap_dumps_are_back_with
The above are the basic stuff that needs to be looked into to understand the cause of this issue.
Cheers!!
AJ
Edited by: AJ on May 28, 2013 4:28 PM -
Weblogic crashes with java.lang.OutOfMemoryError: getNewTla.
Hi,
We have a clustered Weblogic environment and a custom WebCenter portal application is deployed on it.
We are using JDev 11.1.1.5.0 and the Weblogic version we are using is 10.3.5.0
We are frequently getting below error on either cluster. Can anyone help please?
ExecuteRequest failed
java.lang.OutOfMemoryError: getNewTla.
java.lang.OutOfMemoryError: getNewTla
at java.util.HashMap.newKeyIterator(HashMap.java:1024)
at java.util.HashMap$KeySet.iterator(HashMap.java:1062)
at java.util.HashSet.iterator(HashSet.java:153)
at weblogic.cluster.messaging.internal.GroupImpl.getConfigInformation(GroupImpl.java:271)
at weblogic.cluster.messaging.internal.GroupManagerImpl.findOrCreateGroupMember(GroupManagerImpl.java:198)
at weblogic.cluster.messaging.internal.GroupManagerImpl.handleMessage(GroupManagerImpl.java:173)
at weblogic.cluster.messaging.internal.ConnectionImpl$1.run(ConnectionImpl.java:139)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Regards,
KanchanHi Kanchan,
Few things you could do here is,
1. Check GC logs to check if Garbage collector selected is able to release un-referenced objects. Logs will give you hint about possible memory leak.
If you have not set debug GC logs then set it using -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGC -Xloggc:/logs/server1_gclogs.txt
2. Would prefer to take heap dump on OOM and use any tool like jhat or MAT to analyse. It will help in deciding if you require any performance tuning at JVM level. sometime it happens that heap space allocated is tool low causing OOM.
For taking heap dump either set it as JAVA option - "*-XX:+HeapDumpOnOutOfMemoryError*"
or
using Sun tool "jmap"
$ jmap –heap:format=b <pid>
Thanks,
Ranjan -
WEBLOGIC - java.lang.OutOfMemoryError: Java heap space
hi,
i am using Weblogic 10.3 in production mode
We are getting error " java.lang.OutOfMemoryError: Java heap space " frequently , and
we are using the default args
JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
OS - > Windows Server 2003
please help
Regards
Jeethi GeorgeHi George,
The Setting you have provided is wrong ...that is the reason you are getting OutOfMemory in Heap.
Your Setting is (As you have mentioned in your very first post): JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
Just a Bit Explaination:
Formula:
(OS Level)Process Size = [ Java Heap (+) Native Space (+) (2-3% OS related Memory) ]
PermSize : It's a Netive Memory Area Outside of the Heap, Where ClassLoading kind of things happens. In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
Now Lets take the default Process Size=2GB (Windows), Now As you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
(ProcessSize - HeapSize) = [Native (+) (2-3% OS related Memory)]
2048 MB - 512 MB = 1536 MB
THUMB RULES:+
MaxPermSize = (MaxHeapSize/3) ----Very Special Cases
MaxPermSize = (MaxHeapSize/4) ----Recommended
In your Case -Xmx and -XX:MaxPermSize bith are same ....That is the reason you are getting the OutOfMemory Error in Heap.
We should increase/tune the MaxPermSize when we deploy a very large application (like a WebApplication which uses many JSPs, or PageFlows/Portal framework etc.) in our Server.
What should be the exact setting of these parameters depends on the Environment /Applications etc...
But Just try -Xmx1024m -Xms1024m -XX:MaxPermSize256m
Another recommendation for fine tuning always keep (Xmx MaxHeapSize & Xms InitialHeapSize same).
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Maybe you are looking for
-
How do I reconnect my xmp files in PE9?
After moving and copying photos between two internal and one external hard drive I find I have a lot of xmp files in the Recycle bin. Can I "reconnect" these files to the images and video clips they belong to? The dates are messed up and tags are m
-
How to upload pipe seperated file
hi friends, i want to upload the pipe delimited file (which generated from unix server) for bdc program. can you please tell me how can i upload this file? can i use 'open dataset'?? thanks in advance ankit
-
Anybody know why internet banking not working on ipad2
Any body know why net banking not working on ipad2
-
Getting weird display on add to bookmark
I'm trying to add a bookmark in safari 6.0 Lion on an early macbook pro 2011. Getting garbled graphics see picture
-
Dashboard Builder integration with BO universe
Hello, I want to find out if we can drill down from one dashboard to another dashboard and then another dashboard in Xcelsius Enterprise. I know that we can drill down from one level to another, however there are no examples in it. Alternatively, you