4 Replies Latest reply: Oct 31, 2012 3:36 PM by gimbal2 RSS

    amount of heap memory is occupied by  a Thread

    user13162080
      Hy, I am using threads in my application. I know the objects that are created inside the thread are stored in the heap space and this is for all the threads, right?
      So in the heap space are stored all the objects created for the threads.
      Is there a way to know the amount of heap memory is occupied by the objects created for a single thread ?

      I know I cant limit the stack memory for a thread but this memory is for the variables and not for the objects, right?

      Thanks