How to fix GC overhead limit exceeded in Eclipse
You try to open eclipse, the building workspace runs then it throw “GC overhead limit exceeded” error. So this is the way we pass this error.
Above is how the error look like. All things you need to do is allocate more memory to you Eclipse instance.
- Go to your Eclipse package folder (right click on eclipse shortcut -> properties -> Open file location)
- In this folder, let open the file “eclipse.ini“
- Find the configuration for “Xms”and “Xmx” then increase the number of memory allocation. They should be like bellow.
- Restart Eclipse.
Hope this help. Have a nice day.