MyEclipse tool Optimization [memory has been increased, jsp,javascript edit very card]

Source: Internet
Author: User

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, Under the control 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 the appropriate configuration in the. project file.

<Buildcommand>            <name>Org.eclipse.ui.externaltools.ExternalToolBuilder</name>            <triggers>Full,incremental,</triggers>            <arguments>                <Dictionary>                    <Key>Launchconfighandle</Key>                    <value>&lt;Project&gt;/.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 tool Optimization [memory has been increased, jsp,javascript edit very card]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.