title: how much memory is allocated to jvm process
body: <p>total memory allocated to the jvm process is equal to the total heap, stack, native heap. i know there are commands for setting the minimum and maximum size limits on the heap. </p>
  
  <p>how about the total memory allocated to the jvm process, is there a limit on that or would it keep on increasing as the number of threads getting created increases. </p>
  
  <p>if there is no limit on the number of threads and since a new stack is created when a new thread is created, would this cause the jvm to keep on increasing its size till there is no more memory left in the RAM?</p>