Idea Error: java: java.lang.OutOfMemoryError: GC overhead limit exceeded

Set the heap size allocated at compile time to be larger. I gave 2G here

File | Settings | Build, Execution, Deployment | Compiler


Read More: