title: JAVA 8: how to pass -xms and -xmx JVM values in the command
body: <p>I'm running a <strong>springboot</strong> app on <strong>Java 8</strong> environment</p>
  
  <p>The command I use to run my app is this: </p>
  
  <pre><code>spring-boot:run -Plocalmysql -Dmaven.test.skip=true -Dspring.profiles.active=localmysql
  </code></pre>
  
  <p>My purpose is to add JVM values specification to my command; so i was suggested to use this options syntax: 
  <code>"-Drun.jvmArguments=Xms512m -Xmx512m"</code> </p>
  
  <p>But while running it throws me this warning : </p>
  
  <pre><code>&gt; Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
  &gt; PermSize=512m; support was removed in 8.0
  </code></pre>
  
  <p>Is there any workaround or a solution to keep passing it in the command?</p>