title: How do I make the "Java Hot Spot MaxPermSize" warning go away when using IntelliJ or Play?
body: <p>I get this warning when I launch IntelliJ or run <code>play</code> in a <a href="http://www.playframework.com/" rel="noreferrer">Play</a> project.</p>
  
  <pre><code>Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
  </code></pre>
  
  <p>How do I make it go away?</p>
  
  <p>The <a href="https://stackoverflow.com/questions/22634644/java-hotspottm-64-bit-server-vm-warning-ignoring-option-maxpermsize">answer</a> to the same question for Maven says to remove <code>MaxPermSize</code> option from the <code>MAVEN_OPTS</code> environment variable. I don't have a <code>MAVEN_OPTS</code> variable set on my machine. I imagine there is some similar sbt setting, but I don't know where it is.</p>
  
  <p>I see lots of <a href="https://stackoverflow.com/questions/18339707/permgen-elimination-in-jdk-8">explanations</a> about what the change to Java is, but I don't see any tips for how to make this warning go away when working with Scala.</p>
  
  <p>OS X 10.9.4. Scala 2.11.1. sbt 0.13.5</p>
  
  <hr>
  
  <p><em>Edit</em></p>
  
  <p>Basically what I'm asking is "Where are all the places on my system <code>MaxPermSize</code> might get set?"</p>
  
  <p>I don't have a <code>sbt-launch-lib.bash</code> set on my machine.</p>
  
  <p>I did find <code>MaxPermSize</code> Scala->JVM Parameters option of IntelliJ. Removing that makes the warning go away in IntelliJ.</p>
  
  <hr>
  
  <p><em>Edit</em></p>
  
  <p>Changed question. I originally said that this happened for SBT. (Some of the comments below address this.) This was an error on my part. It doesn't happen when I run SBT, only when I run <code>play</code> from the command line.</p>
  
  <p>Is it a known bug for Play to specify the <code>MaxPermSize</code> parameter? Is there a way to make it stop?</p>
  
  <hr>
  
  <p><em>Edit</em></p>
  
  <p>I don't think this is a duplicate of <a href="https://stackoverflow.com/questions/18339707/permgen-elimination-in-jdk-8">PermGen elimination in jdk 8</a>. That thread describes why the warning appears but does not explain how to change the IntelliJ or Play configurations to make it no longer appear.</p>