First look at this essay
Address: myeclipse/sts First Configure a Spring MVC project on a local deployment (12) [http://www.cnblogs.com/editor/p/3915239.html]
This step is each new workspace should be configured to configure the steps, this step is configured, the project source code into, space construction , no exception error, running the compilation server (such as: Tomcat) successful, then do the following configuration;
Tool Environment optimized configuration
We are in the development of a nearly large system, almost the project in 70, 80M or more, it may be some small projects, myeclipse just run, look at the "Task Manager" process, Java also accounted for about 200 m, just started to operate quite smooth, the time is not long, the whole MyEclipse or STS will be very card, even affect the whole computer will be very late;
There may also be the operation of the JSP page, originally in the. Java background interface Quite smooth, everything to the JSP page on the card.
More serious is the JSP page on the operation of the JavaScript code block, the card is not.
This is because MyEclipse is not configured to cause, you frequent operation, will lead to myeclipse and Java environment Memory temporarily not released, thus occupying more and more memory;
Optimization items
1. Project Engineering Right-click Properties, Java build Path (Java build path)-Libraries select: JRE System Library [...] item;
Locate the Charsets.jar package entry, expand, click:Javadoc location entry, click the "Remove" button on the right to change the entry to Javadoc location (None);
2. Set the JSP default editor:
MyEclipse top menu bar: Windows (Windows), Preferences (Preferences): General- editor select File associations:
Select the *.jsp item in the upper box, and then select the MyEclipse JSP Editor item in the bottom box, and then click the Default button on the right .
3. Solve The problem of JSP and JavaScript editing card;
Top menu bar (Windows) window---(preferences) Preference, general---Editors, Text Editors, hyperlinking, Key-controlled hyperlinking Style nevigation list, uncheck the option related to JPS or JavaScript;
4. Project project root directory. Project Remove (note) All JavaScript-related item configurations
In the Action Project engineering right-click Property (Properties) In the Property window, tap the build (Builders) item on the left, and uncheck the Javascript Validation item to generate a phase in the. project file. should be configured;
<Buildcommand>
<Name>org.eclipse.ui.externaltools.externaltoolbuilder</Name>
<Triggers>full,incremental,</Triggers><Arguments>
<Dictionary>
<Key>launchconfighandle</Key>
<Value><project>/.externaltoolbuilders/org.eclipse.wst.jsdt.core.JavaScriptValidator.launch</Value>
</Dictionary>
</Arguments>
</Buildcommand>....<Natures>
<Nature>org.eclipse.jem.workbench.javaemfnature</Nature>
<Nature>com.genuitec.eclipse.j2eedt.core.webnature</Nature>
<Nature>org.eclipse.jdt.core.JavaNature</Nature>
<nature>org.eclipse.wst.jsdt.core.jsnature</nature>
<nature> Org.eclipse.wst.common.project.facet.core.nature</ nature>
<nature> Org.eclipse.wst.common.modulecore.modulecorenature</ nature></natures>
Comment out the partial annotation under arguments and the nature item of Org.eclipse.wst.jsdt.core.jsNature;
5. Click the start and Close (startup and Shutdown) entry in the Configuration window (Windows), Preferences (Preferences), and General (generic):
Remove all MyEclipse easie items and keep only the type of server you are using, such as Tomcat 7
Remove MyEclipse Examples items, Equinox Provisioning .... and Automatic Updates schedular such as two automatic items;
As well as some other self-understanding installation, unwanted plugins;
Click "OK" to complete;
With the above configuration, you can basically solve the editing card, memory growth is too fast problem;
MyEclipse optimization [memory has been increased, jsp,javascript edit very card]