Search code examples
javaintellij-ideabuild

'Parse java...' stuck in IntelliJ while Build Project


I am using IntelliJ Idea 2020.2 and I am trying to run big project but when click Build Project then it's getting stuck with Parsing java... (for smaller project it works perfectly). I can add that in IntelliJ Idea 2019.1.3 I can build this project in less than minute. Is there any solution for this problem?


Solution

  • You need to increase build heap size in "Settings/Preferences | Build, Execution, Deployment | Compiler".