title: How to increase heap size in solr or tomcat?
body: <p>When i run the command below:
  127.0.0.1:8080/solr/suggest?spellcheck.build=true
  I got an exception as below, anyone knows how to increase heap size in tomcat or solr?</p>
  
  <p>Apache Tomcat/7.0.27 - Error report <h1>HTTP Status 500 - Java heap space</p>
  
  <p>java.lang.OutOfMemoryError: Java heap space
  </h1><p><b>type</b> Status report</p><p><b>message</b> Java heap space</p>
  
  <p>java.lang.OutOfMemoryError: Java heap space
  </p><p><b>description</b> The server encountered an internal error (Java heap space</p>
  
  <p>java.lang.OutOfMemoryError: Java heap space
  ) that prevented it from fulfilling this request.</p><h3>Apache Tomcat/7.0.27</h3>%    </p>