I remember that I had a friend in Eclipse, I used to use the KeepResIdent plugin on Eclipse. This plugin can help us better use the Eclipse this Java application in the Windows platform.
download link:
http://suif.stanford.edu/pub/keepreside/keepresident-0.2.zip
installation method:
Unzip to the Eclipse installation directory, which actually adds subdirectory in a plugins directory, then restart Eclipse, for version 3.1 Eclipse, it is recommended to start using the -cle command line parameters, which will clearly tell the Eclipse refresh plugin and the like.
use:
In the Windows-> Preferences of the Eclipse Workbench, you can see the new Keepresident option page, here we can configure three stuff, minimum work set size, maximum work set size, VirtualLock, specify that you want Windows to assign to Eclipse Minimum physical memory, maximum physical memory and whether to keep this part of memory. The specific settings varies from person to person, you can give you a reference to my personal configuration: My environment is Windows XP SP2, 256MB memory, three options are: 80MB, 128MB, select. In the most used, running is very smooth.
Simple principle:
First, we know that Windows's memory is actually physical memory virtual memory. It is necessary when it will use the physical memory of the application to use the application. Secondly, for ordinary applications Windows only assign a small amount of physical memory by default, and This is unacceptable for Eclipse that needs relatively large amounts of memory; once again, once the Eclipse window minimizes, Windows will not be used by default, so that the physical memory it uses is used to use it. In this way, we will have a serious latency that we minimize and open again. Keepresident is very small, in fact, is called Windows setProcessWorkingSize () and VirtualLock () two APIs to implement specific settings of the Memory Allocation of the Eclipse runtime.