how to destroy thread in java after the completion of task
<p>I am using thread pool for my task. After completion of each task i am destroying the thread using Thread.stop() and Thread.destroy(). But after running my application (in eclipse) for around 30 min. i am getting Memory out of bound error . So pls suggest me how to kill the thread.</p>
