Slow Intellij 17.1 – Xmx for help

Yesterday I switched to 2017 version of Intellij from the good old 16.3. I didn’t read about all new features yet, but the first thing that hits me was new look of “Find in Path” window. It’s now completely redesigned and I couldn’t get used to it for the first couple hours. Now I don’t need to click to another tab to change search filters – it’s all in the results view already! Thanks JetBrains!

After running Intellij for the longer period of time without restarting, I noticed some lags. The Java editor was freezing for a second or two and it was really annoying! I couldn’t work 🙁 After looking for some “magic” tweaks in the internet, I found that maybe I should just double the Xmx setting. Original value was 750MB, so I have changed it to 1500MB. I enabled “Memory indicator” and after running some unit tests it exceeded the original value. Hope it helps in a long run!