title: Memory leak in apache-tomcat-8.0.14
body: <p>Running a standard tomcat 8.0.14, fresh install out of the box, running it at a hosting company. 
  I am using java jre1.8.0_05 on a CentOS server. Only changes from the start was to change some ports. </p>
  
  <p>All good so far, get a nice welcome to Apache message, then my hosting company kills it because it has gone past 1048 mb. So thought I would set the max memory in setenv.sh</p>
  
  <pre><code>export JAVA_OPTS="-Djava.awt.headless=true -server -Xms48m -Xmx256m"
  </code></pre>
  
  <p>Which should set the max memory to 256, but it just continues growing if I deploy hello.war (basically, ran grails hello world then added a single render this is a rest to the project). Its now up to 399 mb</p>
  
  <p>So is there any way to set a hard limit, and why would a hello world feel that it needs 399mb</p>
  
  <p>Any suggestions?</p>