As the development progresses the project gets bigger and bigger,
There are more and more jar files inside. .
Finally encountered such a tangled problem:
The project suddenly fails to run, and always reports a memory overflow exception.
Can't debug, can't debug. .
I found a lot of posts, and a little summary:
------------------------------------ Only say how to change, don't ask why, it depends on good luck
Find the client folder of myeclipse,
Find the eclipse.ini file in the eclipse folder,
1. Add -clean to the first line
2. Double the numbers inside. . . 128M→256M, and so on.
3. Enter myeclipse, Windows→perferences→enter java keyword→find (third from last) Installed JREs
Select the currently used JDK, click "Edit"; fill in the Default VM Argument: -Xms64m -Xmx256m
OK, apply.
------------ I tested it easy to use, and the project release speed has improved a lot.
ps: If eclipse is too stuck, it is best to cancel that automatic building.
Method: Enter "build" in the keyword, in Genral → Workspace: uncheck the first checkbox.