我部署了一台TS服务器 2台DSO TC应用,在整个程序运行几天后就出现内存溢出问题:
2011-03-18 14:38:04,896 [Statistics Logger] INFO com.terracottatech.dso - memory free : 961417608
2011-03-18 14:38:04,896 [Statistics Logger] INFO com.terracottatech.dso - memory used : 1991372408
2011-03-18 14:38:04,896 [Statistics Logger] INFO com.terracottatech.dso - memory max : 2952790016
2011-03-18 14:41:53,430 [L2_L1:TCComm Main Selector Thread_R (listen 0:0:0:0:0:0:0:0:9510)] ERROR com.tc.net.core.CoreNIOServices - Unhandled exception in cleanupChannel callback.
java.lang.OutOfMemoryError: Java heap space
at EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.iterator(Unknown Source)
at com.tc.net.core.event.TCConnectionEventCaller.fireEvent(TCConnectionEventCaller.java:63)
at com.tc.net.core.event.TCConnectionEventCaller.fireCloseEvent(TCConnectionEventCaller.java:58)
at com.tc.net.core.TCConnectionJDK14$1.run(TCConnectionJDK14.java:510)
at com.tc.net.core.CoreNIOServices$CommThread.cleanupChannel(CoreNIOServices.java:488)
at com.tc.net.core.CoreNIOServices.cleanupChannel(CoreNIOServices.java:81)
at com.tc.net.core.TCConnectionJDK14.closeImpl(TCConnectionJDK14.java:140)
at com.tc.net.core.TCConnectionJDK14.asynchClose(TCConnectionJDK14.java:480)
at com.tc.net.core.TCConnectionManagerJDK14$ConnectionEvents.endOfFileEvent(TCConnectionManagerJDK14.java:279)
at com.tc.net.core.event.TCConnectionEventCaller.fireEvent(TCConnectionEventCaller.java:72)
at com.tc.net.core.event.TCConnectionEventCaller.fireEndOfFileEvent(TCConnectionEventCaller.java:51)
at com.tc.net.core.TCConnectionJDK14.doReadInternal(TCConnectionJDK14.java:344)
at com.tc.net.core.TCConnectionJDK14.doRead(TCConnectionJDK14.java:218)
at com.tc.net.core.CoreNIOServices$CommThread.selectLoop(CoreNIOServices.java:611)
at com.tc.net.core.CoreNIOServices$CommThread.run(CoreNIOServices.java:286)