When more than 2,000 lines of code lines, there will be even more when encoding to Caton situation can not be compiled, the solution is as follows:
Method 1: modify the configuration parameters IDEA
Find D: \ ideaIU-2019.1.1.win \ bin \ idea64.exe.vmoptions this file, modify the values of these two parameters:
-Xms1024m
-Xmx2048m
Method 2: Click on this picture, is set to None (only valid for the current file)