Speed up the startup speed
1. When eclipse starts, it always searches for the JRE that runs it, often the search process slows down eclipse startup. (No settings, such as 2-3s appear progress bar, set up directly after the progress bar)
Just add the-VM parameter to the Eclipse.ini.
2. Cancels all plug-ins to be activated at startup (same as when activated) and other related actions that are performed at startup.
3. Turn off Automatic Updates
Reduce the problem of eclipse cards caused by JVM memory recycling
This is mainly the JVM in the client mode, in the memory collection, will stop all other work, with recycling to perform other tasks, during which eclipse is stuck. Therefore, the appropriate increase in the size of the JVM application memory to reduce the number of recycled or even not recycled, it will be a noticeable improvement in the card phenomenon.
The heap memory is set mainly through several JVM parameters:
-xmx512m Maximum total heap memory, typically set to 1/4 of physical memory
-xms512m Initial total heap memory, which is typically set to the size of the maximum heap memory, so that the heap does not need to be resized based on current heap usage
-xmn192m Young with heap memory, Sun officially recommended for the entire heap of 3/8
Heap Memory Composition Total heap memory = Young with heap memory + old with heap memory + persistent heap memory
Young with heap memory object just put it here when it's created.
Old age with heap memory objects will be placed here before they are actually recycled.
Persistence with Heap memory class files, metadata, etc. put here
-xx:permsize=128m the initial size of the persistent tape heap
-xx:maxpermsize=128m the maximum size of a persistent heap, eclipse defaults to 256m. If you want to compile JDK this, make sure this is very large, because it has too many classes.
My configuration (2g memory Notebook):
There are other relevant parameters to see the following reference materials, very enlightening:
-XX:+USEPARALLELGC Using concurrent Memory recycling
-XX:+DISABLEEXPLICITGC disables display memory recovery for System.GC ()
Eclipse related settings to reduce the card phenomenon
1. Turn off automatic construction. When enabled, eclipse automatically builds the entire project for us every time you save it, which can cause a lot of cards for large projects. In fact, there is absolutely no need to build automatically, as long as it is OK to build once before running, and eclipse will automatically build for us before it runs, so shutting down is the wisest choice.
2. Turn off spelling checker settings