title: Intellij heap size, Initial heap size set to a larger value than the maximum heap size
body: <p>I'm a beginner in Java, and I just started using Intellij as my IDE.</p>
  
  <p>When I use it, sometimes it's delayed.</p>
  
  <p>I changed my xms and xmx for larger heap size (xms = 1024, xmx = 2048), but it throws an error.</p>
  
  <p>So, I rolled it back.</p>
  
  <p>The error message was something like this: "Initial heap size set to a larger value than the maximum heap size".</p>
  
  <p>What is the problem?</p>
  
  <p>If possible, how do I increase maximum heap size?</p>
  
  <p>I'm using a laptop and it has 8GB memory. x64 Intellij.exe used.</p>