title: Maven heap space
body: <p>When I am running <code>mvn clean install</code> for my build on linux RHEL 6. I'm getting the following error: <code>java.lang.outOfMemoryError heap space</code>. </p>
  
  <p>I have read all the articles on internet. On my machine I dont have a file called <code>mvn.sh</code>, I only have a file <code>mvn.bat</code>.</p>
  
  <p>Where can I set the export MAVEN_OPTS command?</p>