Solve the Problem of myeclipse eating memory, so that myeclipse can fly up and speed myeclipse

Source: Internet
Author: User

Solve the Problem of myeclipse eating memory, so that myeclipse can fly up and speed myeclipse

 

The size of myeclipse5.5 is 139 m; that of myeclipse6.5 is 451 m; that of myeclipse7.0 is 649 M! The download server is abroad... The download speed is exhausting, as long as you have a top-notch performance. Unfortunately, myeclipse is a master of crazy memory, especially when myeclipse7.0 runs, it basically does not need to do other work. It is a quick update, and a updating indexes, when you wait for the update, the old man will automatically validate it again!

The author has collected some memory-consuming solutions for myeclipse. It is very effective and shared by myself. I hope it will be convenient for more friends.

1. always pop up quick update error and disable the quick update automatic update function of myeclipse.

The solution to this problem is to disable automatic updates.

Windows> preferences> myeclipse enterprise workbench> community essen,
Remove the prefix of "search for new features on startup.

2. Disable updating indexes

Window> preferences> myeclipse enterprise workbench> maven4myeclipse> Maven> disable download repository index updates on startup.

3. Disable automatic validation of myeclipse

There are a bunch of validation items, such as XML, JSP, JSF, and JS. We don't have to perform automatic verification on all of them. We only need to perform manual verification when necessary, and the speed will immediately increase to several levels.

Windows> perferences> myeclipse> Validation
Uncheck all build

If you need to verify a file, we can verify it separately. The method is to right-click the file to be verified (right-click-> myeclipse-> RUN validation.

4. Start optimization and disable unnecessary modules.

20% of a system's functions often meet 80% of the requirements, and myeclipse is no exception. We only need 20% of the system functions in most cases, so we can disable loading and starting some unused modules.

Window> preferences> General> startup Andy shutdown lists the modules loaded during myeclipse startup. Here I only want it to load Tomcat 5 and check myeclipse easie Tomcat 5.

How can we know which startup items are useful? I want to explain the usefulness of the startup items I know. I hope you can reply to them as follows:
WTP: similar to myeclipse, the main difference is that WTP is free of charge. If myeclipse is used, this can be canceled.
Mylyn: A team task management tool, similar to CVS, which manages the project progress in task units and can be canceled if it is useless.
Derby: a database saved as a jar. It is useless and canceled.
A large batch of startup items starting with myeclipse easie: the servers supported by myeclipse are only used by myself, and other items are canceled. For example, I only select tomcat.

5. Remove the spelling check of myeclipse (if you think it is useful, do not go)

Spelling check will cause us a lot of trouble. Our method names will all be abbreviations of words, and he will also prompt errors, so it is best to remove them, so it is not very useful.

Window> perferences> General> editors> text editors> spelling> deselect the Enable spell checking check box.

6 remove the complicated built-in plug-in automatic add-on of myeclipse

Window> perferences> General> startup and shutdown> deselect the check box in Plug-ins activated on startup.

7. Modify the editing tool when myeclipse edits the JSP page

Window> perferences> General> editors> File Associations>
In file types, select *. jsp> set "myeclipse JSP Editor" to default in associated editors.

8. Modify the eclipse. ini file in the myeclipse installation directory to increase the non-heap memory of JVM.

The details are as follows:
-Clean
-Showsplash
Com. genuitec. myeclipse. Product. ide
-- Launcher. xxmaxpermsize
256 m
-Vmargs
-Xms128m
-Xmx512m
-Duser. language = EN
-XX: permsize = 128 m
-XX: maxpermsize = 256 m

Increase the following-XX: maxpermsize, such as-XX: maxpermsize = 512 m, and then change-XX: permsize to the same size as-XX: maxpermsize.

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.