Out of memory overflow solution for idea running error

Out of memory overflow during idea operation:

first check whether there is a problem with the code, such as nested loops, and make sure that the code is OK. Configure the idea compiler and turn it up, such as 2000

Read More: