title: Practical limitations of JVM memory and CPU usage?
body: <p>Let's say money was not a limiting factor, and I wanted to write a Java program that ran on a single powerful machine.  </p>
  
  <p>The goal would be to make the Java program <strong>run as fast as possible without having to swap or go to disk</strong> for anything.  </p>
  
  <p>Let's say that this computer has:</p>
  
  <ul>
  <li>1 TB of RAM (64 16GB DIMMs)</li>
  <li>64 processor cores (8 8-core processors)</li>
  <li>running 64-bit Ubuntu</li>
  </ul>
  
  <p>Could a single instance of a java program running in a JVM take advantage of this much RAM and processors?</p>
  
  <p>Are there any practical considerations that might limit the usage and efficiency?</p>
  
  <ul>
  <li>OS process (memory &amp; threads) limitations?</li>
  <li>JVM memory/heap limitations?</li>
  <li>JVM thread limitations?</li>
  </ul>
  
  <p>Thanks,
  Galen</p>