[Solved] Project Start Slowly: “Build completed with 1 error and 18 warnings in 3 m 51 s”

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

Similar Posts: