![]() ![]() I print only the start because after the first line it is identical to what I already posted. O.s.t.i.TransactionInterceptor - Application exception overridden by rollback exceptionĪt .reuseAndReadPacket(MysqlIO.java:3515)Īt .reuseAndReadPacket(MysqlIO.java:3462)Īt .checkErrorPacket(MysqlIO.java:3903)Īt .checkErrorPacket(MysqlIO.java:871)Īt .nextRow(MysqlIO.java:1999)Īt .readSingleRowSet(MysqlIO.java:3413)Īt .getResultSet(MysqlIO.java:471)Īt .readResultsForQueryOrUpdate(MysqlIO.java:3115)Īt .readAllResults(MysqlIO.java:2344)Īt .sqlQueryDirect(MysqlIO.java:2739)Īt .execSQL(ConnectionImpl.java:2486)Īt .executeInternal(PreparedStatement.java:1858)Īt .executeQuery(PreparedStatement.java:1966)Īt (Unknown Source)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:498)Īt .$StatementProxy.invoke(AbstractQueryReport.java:210)Īt .$Proxy43.executeQuery(Unknown Source)Īt .pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)Īt .(ResultSetReturnImpl.java:60)Īt .(AbstractLoadPlanBasedLoader.java:419)Īt .(AbstractLoadPlanBasedLoader.java:191)Īt .(AbstractLoadPlanBasedLoader.java:121)Īt .(AbstractLoadPlanBasedLoader.java:86)Īt .(AbstractLoadPlanBasedEntityLoader.java:167)Īt .AbstractEntityPersister.load(AbstractEntityPersister.java:4087)Īt .DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:508)Īt .DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:478)Ĭristian Ghezzi Passing the latest heap dump through Eclipse Memory Analyzer gave me the following stack trace. This is the trace in the application log: (log4j) ERROR .spi.SqlExceptionHelper: Could not create connection to database server. (log4j) WARN .spi.SqlExceptionHelper: SQL Error: 0, SQLState: 08001 (log4j) ERROR .spi.SqlExceptionHelper: : Java heap space (log4j) WARN .spi.SqlExceptionHelper: SQL Error: 0, SQLState: S1000 Įxception in thread "AsyncFileHandlerWriter-1510467688" : Java heap spaceĮxception in thread "Tomcat JDBC Pool Cleaner" Heap dump file created Īt (Arrays.java:3332)Īt (AbstractStringBuilder.java:124)Īt (AbstractStringBuilder.java:448)Īt (StringBuilder.java:136)Īt .format(OneLineFormatter.java:138)Īt .publish(StreamHandler.java:211)Īt .publish(ConsoleHandler.java:116)Īt .log(Logger.java:738)Īt .doLog(Logger.java:765)Īt .logp(Logger.java:931)Īt .DirectJDKLog.log(DirectJDKLog.java:180)Īt .DirectJDKLog.warn(DirectJDKLog.java:133)Īt .(ConnectionPool.java:558)Īt .(ConnectionPool.java:985)Īt .pool.ConnectionPool$n(ConnectionPool.java:1452)Īt (Timer.java:555)Īt (Timer.java:505) : Java heap spaceĭumping heap to /mypath/tomcat1-outofmemory-dump. Hoping it is of some use, this is the stack trace in the tomcat log: Probably this happens regularly until, after a few days, it can't recover and stops with a full 2GB heap. It happens after a week or so in a production system with 7000 daily unique users.Ĭristian Ghezzi Last night I had another out of memory but the application didn't stop.Īfter dumping the heap it managed to recover on its own after struggling a bit. ![]() I don't know how to reproduce the problem. IBM HeapAnalyzer shows the following object allocation:ġ.028.733.160 (76,28%) 17 org/apache/tomcat/jdbc/pool/ConnectionPool 0x809edaa0 ![]() The memory is accumulated in one instance of "" loaded by "". I have a production application running in Tomcat that goes in Out of Memory producing a heap dump. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |