wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes OOM on weblogic 10.3.2 JVM@check_alloc  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "OOM on weblogic 10.3.2 JVM@check_alloc  " Watch "OOM on weblogic 10.3.2 JVM@check_alloc  " New topic
Author

OOM on weblogic 10.3.2 JVM@check_alloc

Abhi Vuyyuru
Greenhorn

Joined: Mar 10, 2005
Posts: 12
All

On Linux 64 bit machine and weblogic 10.3.2 we are getting OOM very frequently.


I have used MissionControl to see if there is any JavaHeap issue but I could not find any. I notice there is a constant increase in physical memory usage where as the Java Heap usage was increasing and decreasing at regular intervals(GC).

Thanks in advance for your help.

Below are the details for hardware and appserver startup params

uname:

Linux xxxxxx 2.6.18-164.6.1.el5 #1 SMP Tue Oct 27 11:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

weblogicStartup:

/apps/jrockit6-64/bin/java -Xms2048m -Xmx2048m -XXsetGC:genparcon -Xns:1536m -da -Dplatform.home=/apps/bea10.3.2/wlserver_10.3 -Dwls.home=/apps/bea10.3.2/wlserver_10.3/server -Dwli.home=/apps/bea10.3.2/wlserver_10.3/integration -Dweblogic.management.discover=false -Dweblogic.management.server=http://server-prod1:9400 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/apps/bea10.3.2/patch_wls1032/profiles/default/sysext_manifest_classpath -Dweblogic.Name=Server01 -Djava.security.policy=/apps/bea10.3.2/wlserver_10.3/server/lib/weblogic.policy weblogic.Server

Exception from log file:
java.lang.OutOfMemoryError: class allocation, 11055935600 loaded, 4140625920 footprint JVM@check_alloc (src/jvm/model/classload/classalloc.c:118). 2760 byt
at sun.misc.Unsafe.defineClass(Native Method)
at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.spring.monitoring.utils.Delegator.invokeGetBoolean(Delegator.java:21)
at weblogic.spring.monitoring.utils.AbstractBeanDefinitionDelegator.isPrototype(AbstractBeanDefinitionDelegator.java:59)
at weblogic.spring.monitoring.actions.CreateBeanElapsedTimeActionState.setAbstractBeanDefinition(CreateBeanElapsedTimeActionState.java:19)
at weblogic.spring.monitoring.actions.AbstractBeanFactoryCreateBeanAction.setArguments(AbstractBeanFactoryCreateBeanAction.java:36)
at weblogic.spring.monitoring.actions.BaseElapsedTimeAction.preProcess(BaseElapsedTimeAction.java:58)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:379)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:880)
at com.app.distribution.util.ApplicationContextLoader.getBean(ApplicationContextLoader.java:23)
at com.app.distribution.ejb.BatchDistributionMDB.onMessage(BatchDistributionMDB.java:49)
at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy90.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3748)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


Abhi Vuyyuru
Blog: http://java-x.blogspot.com
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Start with our FAQ Entry: Investigate Out of Memory Error


[How To Ask Questions On JavaRanch]
Joseph Antoine Raja
Ranch Hand

Joined: Feb 01, 2010
Posts: 32
Hi,

Can you please check out this topic.

http://forums.oracle.com/forums/thread.jspa?messageID=2781893
Abhi Vuyyuru
Greenhorn

Joined: Mar 10, 2005
Posts: 12
Joseph, Thanks for the reply. I already tried that solution. It did not work for us.

sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823

Tried with -Xverify:all ?

The OOME you are getting happens when loading a class...


Regards, Sud.
SCJP 5 ScjpFAQ JLS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: OOM on weblogic 10.3.2 JVM@check_alloc