# Eclipse Error: GC overhead limit exceeded [How to Solve]

## Eclipse error GC overhead limit exceeded

Specific details:

An internal error occurred during: “Building workspace”.

Analysis:

results

Solution:

The reason is that the default configuration memory of eclipse is too small. You need to change the eclipse.ini file in the eclipse installation folder

In other words, the default memory size of eclipse is not enough and needs to be modified

Open the directory where eclipse is located and find the eclipse.ini file. As shown in the figure below:

A289885427
open it with a text editor:

Change the values of the last two lines a little larger and add a line at the same time. The details are as follows:

-Xms1024m

-Xmx1536m

-XX:MaxPermSize=1024m

Restart eclipse after the modification. It’s normal

Parameter Description:

-What do the three parameters XMS/Xmx/- XX: maxpermsize mean

The figure is as follows: