title: Setting Java heap space under Maven 2 on Windows
body: <p>I get this message during build of my project </p>
  
  <blockquote>
    <p>java.lang.OutOfMemoryError: Java heap
    space</p>
  </blockquote>
  
  <p>How do I increase heap space, I've got 8Gb or RAM its impossible that maven consumed that much, I found this <a href="http://vikashazrati.wordpress.com/2007/07/26/quicktip-how-to-increase-the-java-heap-memory-for-maven-2-on-linux/" rel="noreferrer">http://vikashazrati.wordpress.com/2007/07/26/quicktip-how-to-increase-the-java-heap-memory-for-maven-2-on-linux/</a> how to do it on linux, but I'm on windows 7. How can I change java heap space under windows ?</p>