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

Eclipse error GC overhead limit exceeded

Specific details:

An internal error occurred during: “Building workspace”.

GC overhead limit exceeded




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:

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:




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:

Similar Posts: