title: Running empty program in Eclipse takes ~10 Mb. Why?
body: <p>In Java, this program:</p>
  
  <pre><code>public class test {
  
      public static void main(String[] args) {
  
          try {
              Thread.sleep(7000);
              System.exit(1);
          } catch (InterruptedException e) {
              e.printStackTrace();
          }
  
      }
  
  }
  </code></pre>
  
  <p>simply sleeps for 7 seconds while I run it in Eclipse and check the System Monitor to see that it holds ~10Mb of memory. Running the program in terminal without Eclipse also takes 10Mb.</p>
  
  <p>For what those megabytes are reserved?</p>
  
  <p><strong>Env</strong>:
  java version "1.7.0_09-icedtea"
  OpenJDK Runtime Environment (fedora-2.3.3.2.fc17-i386)
  OpenJDK Server VM (build 23.2-b09, mixed mode)</p>