我目前使用tomcat7。我的Web應用程序導致停止計時器內存泄漏。 日誌是:tomcat - 定時器內存泄漏
SEVERE: A web application appears to have started a TimerThread
named [Timer-5] via the java.util.Timer API but has failed to stop it.
To prevent a memory leak, the timer (and hence the associated thread)
has been forcibly cancelled.
我不會在我的web應用程序使用j個
ava.util.Timer
。
進行線程轉儲。這可能會揭示線程正在做什麼以及它可能已經啓動的地方。 –