This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I am running java process under tomcat on linux. The java process comprises of multiple threads. I would like to track the memory consumption of threads under a particular java process. Is there any OS utility to track the memory of these individual threads.
I am getting java.lang.OutOfMemory errors and I am guessing that over a dozen threads in the process one of the thread is leaking. You are right that Threads stack is small. I should rather try to find out the memory consumption of the java objects in individual threads.