当前位置:编程学习 > JAVA >>

前台内存占满

前台内存占满时抓取的javacore内容,请高手人分析内存占满的原因:

2012-09-21 09:49:58
Full thread dump Java HotSpot(TM) Server VM (14.2-b01 mixed mode):

"[STANDBY] ExecuteThread: '24' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x03032c00 nid=0x8e sleeping[0x2387f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at weblogic.cluster.MulticastFragmentSocket.sendThrottled(MulticastFragmentSocket.java:171)
at weblogic.cluster.MulticastFragmentSocket.send(MulticastFragmentSocket.java:130)
- locked <0x3ca2c288> (a weblogic.cluster.MulticastFragmentSocket)
at weblogic.cluster.FragmentSocketWrapper.send(FragmentSocketWrapper.java:91)
at weblogic.cluster.MulticastSender.fragmentAndSend(MulticastSender.java:395)
at weblogic.cluster.MulticastSender.send(MulticastSender.java:178)
- locked <0x3cabeb80> (a weblogic.cluster.MulticastSender)
at weblogic.cluster.MulticastManager.timerExpired(MulticastManager.java:756)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
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)

"[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x03032400 nid=0x8d runnable [0x2397e000]
   java.lang.Thread.State: RUNNABLE
at sun.reflect.GeneratedMethodAccessor735.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:937)
at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:76)
at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:132)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
at ognl.ASTProperty.setValueBody(ASTProperty.java:110)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
at ognl.SimpleNode.setValue(SimpleNode.java:246)
at ognl.Ognl.setValue(Ognl.java:476)
at org.apache.tapestry.util.prop.OgnlUtils.set(OgnlUtils.java:101)
at org.apache.tapestry.util.prop.OgnlUtils.set(OgnlUtils.java:84)
at org.apache.tapestry.record.PageRecorder.rollback(PageRecorder.java:201)
at org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:209)
at org.apache.tapestry.engine.PageService.service(PageService.java:73)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:890)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:200)
at com.linkage.webframework.tapestry.PageServlet.doService(PageServlet.java:170)
at com.linkage.webframework.tapestry.PageServlet.doGet(PageServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

"[STANDBY] ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x0302d800 nid=0x8c in Object.wait() [0x23a7f000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at weblogic.work.ExecuteThread.waitForRequest(ExecuteThread.java:157)
- locked <0xcca49d38> (a weblogic.work.ExecuteThread)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

"[STANDBY] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x02f53400 nid=0x8b waiting on condition [0x23b7f000]
   java.lang.Thread.State: RUNNABLE
at sun.management.ThreadImpl.findMonitorDeadlockedThreads0(Native Method)
at sun.management.ThreadImpl.findMonitorDeadlockedThreads(ThreadImpl.java:295)
at weblogic.platform.VM15.dumpDeadlockedThreads(VM15.java:75)
at weblogic.platform.VM.dumpDeadlockedThreads(VM.java:136)
at weblogic.t3.srvr.CoreHealthService$ThreadMonitoringTimer.checkDeadlockedThreads(CoreHealthService.java:196)
at weblogic.t3.srvr.CoreHealthService$ThreadMonitoringTimer.access$200(CoreHealthService.java:160)
at weblogic.t3.srvr.CoreHealthService$ThreadMonitoringTimer$1.run(CoreHealthService.java:184)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.t3.srvr.CoreHealthService$ThreadMonitoringTimer.timerExpired(CoreHealthService.java:181)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
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) --------------------编程问答-------------------- "[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x02f53000 nid=0x8a waiting for monitor entry [0x23d7d000]
   java.lang.Thread.State: BLOCKED (on object monitor)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:278)
- locked <0x3c863200> (a sun.misc.URLClassPath)
at sun.misc.URLClassPath.findResource(URLClassPath.java:144)
at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
at java.lang.ClassLoader.getResource(ClassLoader.java:978)
at java.lang.ClassLoader.getResource(ClassLoader.java:973)
at weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:167)
at weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:184)
at weblogic.utils.classloaders.FilteringClassLoader.getResourceInternal(FilteringClassLoader.java:89)
at weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:152)
at weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:152)
at weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:184)
at weblogic.utils.classloaders.ChangeAwareClassLoader.getResource(ChangeAwareClassLoader.java:112)
at org.apache.tapestry.util.DefaultResourceResolver.getResource(DefaultResourceResolver.java:68)
at org.apache.tapestry.resource.ClasspathResourceLocation.getResourceURL(ClasspathResourceLocation.java:88)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.found(ComponentSpecificationResolver.java:232)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.searchForComponent(ComponentSpecificationResolver.java:190)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:158)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:118)
at org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:564)
at org.apache.tapestry.BaseComponentTemplateLoader.createImplicitComponent(BaseComponentTemplateLoader.java:295)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:237)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:172)
at org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:100)
at org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:135)
at org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:519)
at org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:576)
at org.apache.tapestry.BaseComponentTemplateLoader.createImplicitComponent(BaseComponentTemplateLoader.java:295)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:237)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:172)
at org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:100)
at org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:135)
at org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:519)
at org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:764)
at org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:152)
at org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:195)
at org.apache.tapestry.engine.PageService.service(PageService.java:73)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:890)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:200)
at com.linkage.webframework.tapestry.PageServlet.doService(PageServlet.java:170)
at com.linkage.webframework.tapestry.PageServlet.doGet(PageServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) --------------------编程问答-------------------- "[STANDBY] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x002d3800 nid=0x89 runnable [0x23c7f000]
   java.lang.Thread.State: RUNNABLE
at java.lang.System.currentTimeMillis(Native Method)
at weblogic.socket.SocketInfo.getMessageIntervalMillis(SocketInfo.java:189)
at weblogic.socket.SocketInfo.checkTimeout(SocketInfo.java:150)
- locked <0xcc5dd220> (a weblogic.socket.DevPollSocketInfo)
at weblogic.socket.SocketMuxer$TimerListenerImpl.timerExpired(SocketMuxer.java:981)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
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)

"weblogic.i18n.logging.MessageResetScheduler" daemon prio=3 tid=0x0069a000 nid=0x87 in Object.wait() [0x23e7f000]
   java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0xcba9f520> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

"[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x039a5000 nid=0x86 runnable [0x23f7d000]
   java.lang.Thread.State: RUNNABLE
at java.lang.Throwable.getStackTraceElement(Native Method)
at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
- locked <0xce787580> (a java.lang.Throwable)
at java.lang.Throwable.printStackTrace(Throwable.java:510)
- locked <0x3dab64a0> (a java.io.PrintWriter)
at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:96)
- locked <0x3dab64c8> (a java.io.StringWriter)
at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:182)
at org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:475)
at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:56)
at org.apache.log4j.PatternLayout.format(PatternLayout.java:495)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:292)
at org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:349)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
- locked <0x3c5c68c8> (a org.apache.log4j.DailyRollingFileAppender)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category.java:187)
- locked <0x3c5c61c0> (a org.apache.log4j.Logger)
at org.apache.log4j.Category.forcedLog(Category.java:372)
at org.apache.log4j.Category.warn(Category.java:1019)
at com.linkage.appframework.monitor.Monitor.logByFile(Monitor.java:122)
at com.linkage.appframework.monitor.Monitor.monitor(Monitor.java:105)
at com.linkage.component.util.ServiceMonitor.monitorService(ServiceMonitor.java:15)
at com.linkage.syscomp.mwji.impl.WTCConnection.invoke(WTCConnection.java:214)
at com.linkage.component.util.TuxedoHelper.callTuxSvc(TuxedoHelper.java:81)
at com.linkage.component.util.TuxedoHelper.callTuxSvc(TuxedoHelper.java:34)
at com.linkage.acctcore.bmo.QHAI.common.CallTuxedoHelper.callTuxedoService(CallTuxedoHelper.java:70)
at com.linkage.acctcore.bmo.QHAI.common.CallTuxedoHelper.callTuxedoService(CallTuxedoHelper.java:120)
at com.linkage.acctcore.bmo.QHAI.common.BaseArchBmo.getUserInfo(BaseArchBmo.java:200)
at com.linkage.acctcore.view.QHAI.common.BaseArchPage.privateQueryUserInfo(BaseArchPage.java:78)
at com.linkage.acctcore.view.QHAI.common.BaseArchPage.queryInfo(BaseArchPage.java:157)
at com.linkage.acctcore.view.QHAI.common.BasePayfeePage.queryInfo(BasePayfeePage.java:157)
at com.linkage.acctcore.view.QHAI.amcharge.PayFee.queryInfo(PayFee.java:233)
at sun.reflect.GeneratedMethodAccessor1161.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:278)
at org.apache.tapestry.listener.ListenerMap.access$1(ListenerMap.java:269)
at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:103)
at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:110)
at org.apache.tapestry.form.Submit.renderComponent(Submit.java:80)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:626)
at org.apache.tapestry.components.Conditional.renderComponent(Conditional.java:56)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:118)
at com.linkage.acctcore.core.QHAI.jwcs.userinfofeeqrybtn.UserInfoFeeQry.renderComponent(UserInfoFeeQry.java:9)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:626)
at org.apache.tapestry.form.Form.renderComponent(Form.java:366)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.form.Form.rewind(Form.java:601)
at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:432)
at org.apache.tapestry.form.Form.trigger(Form.java:615)
at org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:890)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:200)
at com.linkage.webframework.tapestry.PageServlet.doService(PageServlet.java:170)
at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:329)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) --------------------编程问答-------------------- "[STANDBY] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x033c9c00 nid=0x85 waiting on condition [0x2407f000]
   java.lang.Thread.State: RUNNABLE
at java.util.Vector.size(Vector.java:268)
- locked <0xce71b4a8> (a java.util.Vector)
at weblogic.rmi.internal.dgc.DGCClientImpl$HeartBeat.run(DGCClientImpl.java:212)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

"[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x03995800 nid=0x84 waiting for monitor entry [0x2417d000]
   java.lang.Thread.State: BLOCKED (on object monitor)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:278)
- waiting to lock <0x3c863200> (a sun.misc.URLClassPath)
at sun.misc.URLClassPath.findResource(URLClassPath.java:144)
at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
at java.lang.ClassLoader.getResource(ClassLoader.java:978)
at java.lang.ClassLoader.getResource(ClassLoader.java:973)
at weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:187)
at weblogic.utils.classloaders.FilteringClassLoader.getResourceInternal(FilteringClassLoader.java:89)
at weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:152)
at weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:152)
at weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:184)
at weblogic.utils.classloaders.ChangeAwareClassLoader.getResource(ChangeAwareClassLoader.java:112)
at org.apache.tapestry.util.DefaultResourceResolver.getResource(DefaultResourceResolver.java:68)
at org.apache.tapestry.resource.ClasspathResourceLocation.getResourceURL(ClasspathResourceLocation.java:88)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.found(ComponentSpecificationResolver.java:232)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.searchForComponent(ComponentSpecificationResolver.java:190)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:158)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:118)
at org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:564)
at org.apache.tapestry.BaseComponentTemplateLoader.createImplicitComponent(BaseComponentTemplateLoader.java:295)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:237)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:172)
at org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:100)
at org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:135)
at org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:519)
at org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:576)
at org.apache.tapestry.BaseComponentTemplateLoader.createImplicitComponent(BaseComponentTemplateLoader.java:295)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:237)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:172)
at org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:100)
at org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:135)
at org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:519)
at org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:764)
at org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:152)
at org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:195)
at org.apache.tapestry.engine.PageService.service(PageService.java:73)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:890)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:200)
at com.linkage.webframework.tapestry.PageServlet.doService(PageServlet.java:170)
at com.linkage.webframework.tapestry.PageServlet.doGet(PageServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) --------------------编程问答-------------------- JavaCore一般用来分析死锁原因,很难用于分析内存占满原因的。。。


建议你用JDK自带的 jvisualvm.exe 来跟踪下内存对象的增长情况。

或者用JProfiler来跟踪对象增长情况也行。 --------------------编程问答-------------------- 对了,建议打开JVM的GC日志,如果是做压力测试的话,可以看看具体是在压哪个功能时,GC所能回收的内存越来越少,直到OOM。

也可以配置JVM在发生OOM时生成 HeapDump,可用来分析OOM时对象数量,但其实难度也比较大。 --------------------编程问答--------------------
引用 5 楼  的回复:
对了,建议打开JVM的GC日志,如果是做压力测试的话,可以看看具体是在压哪个功能时,GC所能回收的内存越来越少,直到OOM。

也可以配置JVM在发生OOM时生成 HeapDump,可用来分析OOM时对象数量,但其实难度也比较大。

系统24小时运行,就害怕影响用户业务的,你说上面的这种配置JVM方法可以尝试一下,我估计作用不大。 --------------------编程问答-------------------- "[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x02888400 nid=0x83 runnable [0x2427d000]
   java.lang.Thread.State: RUNNABLE
at java.lang.Throwable.getStackTraceElement(Native Method)
at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
- locked <0xce6746b0> (a java.lang.Exception)
at java.lang.Throwable.getStackTrace(Throwable.java:582)
at java.lang.Thread.getStackTrace(Thread.java:1436)
at com.linkage.appframework.monitor.Monitor.getClassInfoByCurrentThread(Monitor.java:327)
at com.linkage.dbframework.jdbc.SQLMonitor.monitorQuerySize(SQLMonitor.java:31)
at com.linkage.dbframework.jdbc.ParameterStatement.executeQuery(ParameterStatement.java:96)
at com.linkage.dbframework.jdbc.DaoManager.executeQuery(DaoManager.java:120)
at com.linkage.dbframework.jdbc.DaoManager.queryList(DaoManager.java:1612)
at com.linkage.dbframework.jdbc.DaoManager.queryList(DaoManager.java:1718)
at com.linkage.dbframework.jdbc.DaoManager.queryList(DaoManager.java:1733)
at com.linkage.dbframework.BaseEntity.queryList(BaseEntity.java:203)
at com.linkage.dbframework.BaseEntity.queryList(BaseEntity.java:180)
at com.linkage.acctcore.dao.QHAI.common.ParameterDAO.queryRouteEparchy(ParameterDAO.java:53)
at com.linkage.acctcore.bmo.QHAI.common.parametermgr.ParamService.getRouteEparchy(ParamService.java:51)
at com.linkage.acctcore.bmo.QHAI.common.parametermgr.ParameterMgr.getRouteEparchy(ParameterMgr.java:177)
at com.linkage.acctcore.view.QHAI.amcharge.PayFee.queryInfo(PayFee.java:200)
at sun.reflect.GeneratedMethodAccessor1161.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:278)
at org.apache.tapestry.listener.ListenerMap.access$1(ListenerMap.java:269)
at org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:103)
at org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:110)
at org.apache.tapestry.form.Submit.renderComponent(Submit.java:80)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:626)
at org.apache.tapestry.components.Conditional.renderComponent(Conditional.java:56)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:118)
at com.linkage.acctcore.core.QHAI.jwcs.userinfofeeqrybtn.UserInfoFeeQry.renderComponent(UserInfoFeeQry.java:9)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:626)
at org.apache.tapestry.form.Form.renderComponent(Form.java:366)
at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:859)
at org.apache.tapestry.form.Form.rewind(Form.java:601)
at org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:432)
at org.apache.tapestry.form.Form.trigger(Form.java:615)
at org.apache.tapestry.engine.DirectService.service(DirectService.java:169)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:890)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:200)
at com.linkage.webframework.tapestry.PageServlet.doService(PageServlet.java:170)
at org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:329)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

"[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x02f27000 nid=0x82 runnable [0x2437d000]
   java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at oracle.net.ns.Packet.receive(Packet.java:239)
at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1023)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:999)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:584)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:1011)
at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:314)
- locked <0x3cd10c30> (a oracle.jdbc.driver.T4CConnection)
at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:228)
- locked <0x3cd10c30> (a oracle.jdbc.driver.T4CConnection)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next(Unknown Source)
at com.linkage.appframework.data.DatasetResult.<init>(DatasetResult.java:34)
at com.linkage.appframework.data.DatasetResult.<init>(DatasetResult.java:65)
at com.linkage.appframework.data.DatasetResult.<init>(DatasetResult.java:74)
at com.linkage.dbframework.jdbc.DaoManager.queryList(DaoManager.java:1613)
at com.linkage.dbframework.jdbc.DaoManager.queryList(DaoManager.java:1626)
at com.linkage.component.bean.adm.SecurityDAO.queryStaffRight(SecurityDAO.java:549)
at com.linkage.component.bean.adm.SecurityBean.getPrivs(SecurityBean.java:259)
at com.linkage.component.bean.adm.SecurityBean.getPrivsByTrash(SecurityBean.java:211)
at com.linkage.component.bean.adm.SecurityBean.setStaffPrivs(SecurityBean.java:155)
at com.linkage.component.bean.adm.SecurityBean.login(SecurityBean.java:52)
at com.linkage.component.AppPage.autoLogin(AppPage.java:586)
at com.linkage.component.AppPage.autoLogin(AppPage.java:365)
at com.linkage.component.AppPage.autoLogin(AppPage.java:290)
at com.linkage.component.AppPage.pageValidate(AppPage.java:158)
at com.linkage.acctcore.view.QHAI.common.BaseAcctPage.pageValidate(BaseAcctPage.java:155)
at org.apache.tapestry.AbstractPage.firePageValidate(AbstractPage.java:558)
at org.apache.tapestry.AbstractPage.validate(AbstractPage.java:333)
at org.apache.tapestry.engine.RequestCycle.activate(RequestCycle.java:685)
at org.apache.tapestry.engine.PageService.service(PageService.java:75)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:890)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:200)
at com.linkage.webframework.tapestry.PageServlet.doService(PageServlet.java:170)
at com.linkage.webframework.tapestry.PageServlet.doGet(PageServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) --------------------编程问答-------------------- "[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x0397b400 nid=0x81 runnable [0x2447d000]
   java.lang.Thread.State: RUNNABLE
at java.util.zip.ZipFile.getEntry(Native Method)
at java.util.zip.ZipFile.getEntry(ZipFile.java:149)
- locked <0x3ca1f770> (a java.util.jar.JarFile)
at java.util.jar.JarFile.getEntry(JarFile.java:206)
at java.util.jar.JarFile.getJarEntry(JarFile.java:189)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:754)
at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:732)
at sun.misc.URLClassPath.findResource(URLClassPath.java:145)
at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
at java.lang.ClassLoader.getResource(ClassLoader.java:978)
at java.lang.ClassLoader.getResource(ClassLoader.java:973)
at weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:187)
at weblogic.utils.classloaders.FilteringClassLoader.getResource(FilteringClassLoader.java:95)
at java.lang.ClassLoader.getResource(ClassLoader.java:973)
at weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:187)
at java.lang.ClassLoader.getResource(ClassLoader.java:973)
at weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:187)
at weblogic.utils.classloaders.ChangeAwareClassLoader.getResource(ChangeAwareClassLoader.java:112)
at org.apache.tapestry.util.DefaultResourceResolver.getResource(DefaultResourceResolver.java:68)
at org.apache.tapestry.resource.ClasspathResourceLocation.getResourceURL(ClasspathResourceLocation.java:88)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.found(ComponentSpecificationResolver.java:232)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.searchForComponent(ComponentSpecificationResolver.java:190)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:158)
at org.apache.tapestry.resolver.ComponentSpecificationResolver.resolve(ComponentSpecificationResolver.java:118)
at org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:564)
at org.apache.tapestry.BaseComponentTemplateLoader.createImplicitComponent(BaseComponentTemplateLoader.java:295)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:237)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:172)
at org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:100)
at org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:135)
at org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:519)
at org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:576)
at org.apache.tapestry.BaseComponentTemplateLoader.createImplicitComponent(BaseComponentTemplateLoader.java:295)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:237)
at org.apache.tapestry.BaseComponentTemplateLoader.process(BaseComponentTemplateLoader.java:172)
at org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:100)
at org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:135)
at org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:519)
at org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:764)
at org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:152)
at org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:195)
at org.apache.tapestry.engine.PageService.service(PageService.java:73)
at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:890)
at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:200)
at com.linkage.webframework.tapestry.PageServlet.doService(PageServlet.java:170)
at com.linkage.webframework.tapestry.PageServlet.doGet(PageServlet.java:163)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.apache.tapestry.RedirectFilter.doFilter(RedirectFilter.java:106)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) --------------------编程问答-------------------- 别贴CoreDump了,真的没啥意义,不可能从线程堆栈看出你对象异常增长情况的。

用 jvisualvm.exe 或者 JProfiler 来跟踪下吧,不过确实会较大降低系统速度。

即便是7×24的生产系统,也可以挑选凌晨来做一些跟踪和测试的。 --------------------编程问答--------------------
引用 9 楼  的回复:
别贴CoreDump了,真的没啥意义,不可能从线程堆栈看出你对象异常增长情况的。

用 jvisualvm.exe 或者 JProfiler 来跟踪下吧,不过确实会较大降低系统速度。

即便是7×24的生产系统,也可以挑选凌晨来做一些跟踪和测试的。

只能凌晨跟踪搞了,单从core文件看,就是系统的架构师也很难分析出来。 --------------------编程问答-------------------- 内存占满了,你抓线程数据有啥用?得用 jmap 和 jhap 来抓啊!
补充:Java ,  Web 开发
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,