1. Question
The idea compilation project writing classes is very slow, and the project cannot start after a long time, as shown in the following figure
2. Solution
1.File-> Invalidate caches/restart… Clear cache
2. setting –> build –> Compiler increases heap size (I’m from 700 –> 1200)
Then the project is compiled and started normally