title: Java Thread dump with JCMD
body: <p>I am using Java1.8 in Ubuntu Linux machine. Created a thread dump with below command:</p>
  
  <pre><code>jcmd 1670 Thread.print &gt; Thread.jfr
  </code></pre>
  
  <p>Copied File to local MAC machine and double clicked to open in JMC. It failed to open. HOw to open it?</p>
  
  <p>I tried to open same file in STS with memory analyzer installed, it does not identify jfr file. </p>
  
  <p>1) What is the wrong with above approach?</p>
  
  <p>2) What is the best tool to analyze Thread and Heap dump?</p>
  
  <p>3) Is Heap or Thread dump size is dependent on RAM size? we have 64 GB ram system, assigned 40GB to one of app server. Is any problem with this?</p>