首页 新闻 会员 周边 捐助

weblogic 项目运行的时候出现线程阻塞导致内存溢出异常,查看日志还是找不到具体原因,求!

0
悬赏园豆:50 [待解决问题]

项目调用了一个定时器,是不是跟这个有关?异常日志如下:

Exception in thread "FileWatchdog" java.lang.OutOfMemoryError: getNewTla
at java.lang.StringCoding.encode(StringCoding.java:266)
at java.lang.String.getBytes(String.java:946)
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
at java.io.File.exists(File.java:733)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:77)
at org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:108)
Exception in thread "[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: getNewTla
at java.util.concurrent.locks.AbstractQueuedSynchronizer.addWaiter(AbstractQueuedSynchronizer.java:584)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1178)
at java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:186)
at java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262)
at java.util.concurrent.ConcurrentHashMap$Segment.remove(ConcurrentHashMap.java:515)
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:923)
at weblogic.work.RequestManager.executeWorkFromPriorityQueue(RequestManager.java:634)
at weblogic.work.RequestManager.registerIdle(RequestManager.java:456)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:225)
Exception in thread "scheduler_Worker-7" java.lang.OutOfMemoryError: getNewTla
at org.quartz.Trigger.getTriggerListenerNames(Trigger.java:649)
at org.quartz.core.QuartzScheduler.notifyTriggerListenersFired(QuartzScheduler.java:1783)
at org.quartz.core.JobRunShell.notifyListenersBeginning(JobRunShell.java:310)
at org.quartz.core.JobRunShell.run(JobRunShell.java:176)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Exception in thread "scheduler_Worker-6" java.lang.OutOfMemoryError
Exception in thread "FileWatchdog" java.lang.OutOfMemoryError: getNewTla
at java.lang.StringCoding.encode(StringCoding.java:266)
at java.lang.String.getBytes(String.java:946)
at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
at java.io.File.exists(File.java:733)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:77)
at org.apache.log4j.helpers.FileWatchdog.run(FileWatchdog.java:108)
<Nov 8, 2019 10:39:54 AM CST> <Error> <Socket> <BEA-000405> <Uncaught Throwable in processSockets
java.lang.OutOfMemoryError.
java.lang.OutOfMemoryError>
<Nov 8, 2019 10:39:54 AM CST> <Critical> <WorkManager> <BEA-002911> <WorkManager weblogic.unicast.ForwardingWorkManager failed to schedule a request due to java.lang.OutOfMemoryError: getNewTla
java.lang.OutOfMemoryError: getNewTla
at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:438)
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:883)
at weblogic.work.RequestManager.executeIt(RequestManager.java:215)
at weblogic.work.SelfTuningWorkManagerImpl.scheduleInternal(SelfTuningWorkManagerImpl.java:164)
at weblogic.work.SelfTuningWorkManagerImpl.schedule(SelfTuningWorkManagerImpl.java:144)
Truncated. see log file for complete stacktrace>
<Nov 8, 2019 10:39:54 AM CST> <Error> <HTTP> <BEA-101020> <[ServletContext@577259353[app:SJBDC module:SJBDC path:/SJBDC spec-version:2.5]] Servlet failed with Exception
java.lang.OutOfMemoryError>
<Nov 8, 2019 10:39:54 AM CST> <Error> <HTTP> <BEA-101017> <[ServletContext@577259353[app:SJBDC module:SJBDC path:/SJBDC spec-version:2.5]] Root cause of ServletException.
java.lang.OutOfMemoryError: getNewTla
at oracle.jdbc.driver.NumberCommonAccessor.getBigDecimal(NumberCommonAccessor.java:2699)
at oracle.jdbc.driver.NumberCommonAccessor.getObject(NumberCommonAccessor.java:3194)
at oracle.jdbc.driver.T4CNumberAccessor.getObject(T4CNumberAccessor.java:291)
at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:830)
at org.apache.commons.dbcp.DelegatingResultSet.getObject(DelegatingResultSet.java:287)
Truncated. see log file for complete stacktrace>
<Nov 8, 2019 10:39:54 AM CST> <Error> <HTTP> <BEA-101020> <[ServletContext@577259353[app:SJBDC module:SJBDC path:/SJBDC spec-version:2.5]] Servlet failed with Exception
java.lang.OutOfMemoryError>
<Nov 8, 2019 10:39:54 AM CST> <Error> <HTTP> <BEA-101017> <[ServletContext@577259353[app:SJBDC module:SJBDC path:/SJBDC spec-version:2.5]] Root cause of ServletException.
java.lang.OutOfMemoryError>
<Nov 8, 2019 10:39:54 AM CST> <Error> <HTTP> <BEA-101017> <[ServletContext@577259353[app:SJBDC module:SJBDC path:/SJBDC spec-version:2.5]] Root cause of ServletException.
java.lang.OutOfMemoryError>
<Nov 8, 2019 10:39:54 AM CST> <Error> <Server> <BEA-002608> <The ListenThread because of an error: java.lang.OutOfMemoryError
java.lang.OutOfMemoryError>
<Nov 8, 2019 10:39:54 AM CST> <Error> <RMI> <BEA-080001> <Error in Dispatcher
java.lang.OutOfMemoryError: getNewTla.
java.lang.OutOfMemoryError: getNewTla
at weblogic.security.acl.internal.AuthenticatedSubject$SealableSet.iterator(AuthenticatedSubject.java:543)
at weblogic.security.service.SecurityServiceManager.getASFromWire(SecurityServiceManager.java:580)
at weblogic.security.service.SecurityServiceManager.getASFromAU(SecurityServiceManager.java:466)
at weblogic.security.service.SecurityServiceManager.getSealedSubjectFromWire(SecurityServiceManager.java:519)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:357)
Truncated. see log file for complete stacktrace>
<Nov 8, 2019 10:39:54 AM CST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: getNewTla.
java.lang.OutOfMemoryError: getNewTla
at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:438)
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:883)
at weblogic.work.RequestManager.executeIt(RequestManager.java:215)
at weblogic.work.SelfTuningWorkManagerImpl.scheduleInternal(SelfTuningWorkManagerImpl.java:164)
at weblogic.work.SelfTuningWorkManagerImpl.schedule(SelfTuningWorkManagerImpl.java:144)
Truncated. see log file for complete stacktrace>
<Nov 8, 2019 10:39:54 AM CST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError.
java.lang.OutOfMemoryError>
Exception in thread "[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: getNewTla
at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:438)
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:883)
at weblogic.work.RequestManager.executeIt(RequestManager.java:215)
at weblogic.work.SelfTuningWorkManagerImpl.scheduleInternal(SelfTuningWorkManagerImpl.java:164)
at weblogic.work.SelfTuningWorkManagerImpl.schedule(SelfTuningWorkManagerImpl.java:144)
at weblogic.cluster.messaging.internal.Environment.executeForwardMessage(Environment.java:93)
at weblogic.cluster.messaging.internal.GroupManagerImpl.sendRemoteGroups(GroupManagerImpl.java:97)
at weblogic.cluster.messaging.internal.GroupImpl.forward(GroupImpl.java:397)
at weblogic.cluster.messaging.internal.GroupMemberImpl.receive(GroupMemberImpl.java:117)
at weblogic.cluster.messaging.internal.GroupManagerImpl.handleMessage(GroupManagerImpl.java:194)
at weblogic.cluster.messaging.internal.ConnectionImpl$1.run(ConnectionImpl.java:139)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Jinhai的坑的主页 Jinhai的坑 | 初学一级 | 园豆:152
提问于:2019-11-08 11:53
< >
分享
所有回答(1)
0

建议你把dump文件弄出来,用mat工具做分析,可以找到占用内存比较大的代码所在处,在这个地方占用多大的内存
MemoryAnalyzer查看内存dump

Co~Co | 园豆:507 (小虾三级) | 2019-11-14 15:46
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册