Eclipse has been building workspace ... The problem

Source: Internet
Author: User
Tags ini win32

Just a word: I'm using-clean to get better.


Eclipse has been building workspace ... The problem Method 1: Clean up about eclipse always building workspace problem

A recent project using Eclipse to develop ophone, always on build workspace every time you open eclipse, and always build
Because there is no build finished, can not save, run and debug, close the program will not respond, can only end the process, which makes me quite depressed.
Later found this article: http://www.eclipsezone.com/eclipse/forums/t61566.html
To understand why this is so weird.
Need to clean up eclipse
I added a command in the Eclipse.ini style-clean
The problem is solved.
http://pkw.iteye.com/blog/1028580 actually may be workspace inside the experiment procedure too many, oneself move out some experiment procedure is good.Method 1: Modify    Category: Experience and skills of Eclipse 2007-12-18 15:08 4660 People read review (2) Collection report Eclipse BBS Import Guide:
Version number: Eclipse SDK version:3.2.0
Phenomenon: When you start or import new project, Eclipse automatically building workspace ... This operation then continues this state no longer responds to other event actions. This is sometimes done in 10 minutes, but it is time-consuming and serious.
Solution: Check a lot of information, and finally on a BBS to find that may be the startup parameter setting problem
(http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-8253.html)
To add parameters when Eclipse starts:
-vmargs-xmx512m
Restart, building workspace ... In a short period of time to end, all normal, specific reasons can refer to the above URL in the answer, can give a lot of tips, hehe, it seems to be more information to check the benefits. Write to hope to have the same phenomenon of colleagues can refer to the solution.
trackback:http://tb.blog.csdn.net/trackback.aspx?postid=1506871

In addition, we must always feel the pain of myeclipse speed, OK, now start to MyEclipse speed:

One, increase the JVM's non-heap memory (Zend Studio's configuration file is the same as Zendstudio.ini and Eclipse.ini)
Open Eclipse.ini
-showsplash
Com.genuitec.myeclipse.product
–launcher. Xxmaxpermsize
256M
-vmargs
-dosgi.requiredjavaversion=1.5
-xms128m
-xmx512m
-dosgi.splashlocation=e:myeclipse 6.0eclipsemyeclipsesplash.bmp
-duser.language=en
-xx:permsize=128m
-xx:maxpermsize=256m
Put the following-xx:maxpermsize, such as-xx:maxpermsize=512m, and then make-xx:permsize as big as-xx:maxpermsize
Almost every time Eclipse card is due to this non-heap memory, the maximum and minimum is the same because the myeclipse is not allowed to change the size of the memory area frequently
Note: The size of xx:maxpermsize and XMX cannot exceed the size of your computer's memory.

What's in Eclipse.ini in my MyEclipse7.0:
---------------------------------------------------------------------
-startup
Plugins/org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
--launcher.library
plugins/ org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v20080509-1800
-clean
-showsplash
Com.genuitec.myeclipse.product
--launcher. Xxmaxpermsize
512m                               //Original is 256 I changed to 512   #我机子4GB内存我全改1024M

-vmargs
-xms128m                           //Original is 40 I changed to
-xmx512m
--------- -----------------------------------------------------------------------
Two. Remove modules that do not need to be loaded
A system 20% function is often capable of meeting 80% requirements, MyEclipse is no exception, we only need 20% of the system function most of the time, so you can disable the loading of some unused modules to start. Open the Configuration window via Windows-preferences, then select the General-startup and Shutdown on the left, this time on the right shows the module that was loaded at eclipse startup, and can remove some modules according to your actual situation.
Windows–>perferences–>general–>startup and shutdown
turns off useless startup items:
How to know which startup items are useful. I now know the use of the start-up to say, there are many do not understand, I hope you understand the reply in the following AH:
WTP: A thing similar to MyEclipse, the main difference is that WTP is free, if you use MyEclipse, this can be canceled
Mylyn: Team task management tools, similar to CVS, manage project progress in a task-based way, and useless to cancel
Derby: A database saved as a jar, I don't have to, cancel
a large row to MyEclipse Easie Start-up: MyEclipse supported servers, select only their own, other cancellations, such as I have only selected tomcat

Three. Cancel MyEclipse automatically validate project profile at startup
By default, MyEclipse automatically validates each project's profile when it is started, which is a time-consuming process where you can select Myeclipse-validation in the Preferences window and then keep only the validator list on the right The Manual item is ready. If you need to verify the time only need to select the file, and then right-click on the Myeclipse-run validation.
Windows–>perferences–>myeclipse–>validation
Drop all except the manual below, build only leave classpath dependency Validator
Manual Verification Method:
On the file that you want to verify, right-click –>myeclipse–>run validation

Four, spell check will bring us a lot of trouble, our method name will be the abbreviation of the word, he will also suggest mistakes, so it is best to remove, not much use:
Windows–>perferences–>general–>validation->editors->text editors->spelling

Five, MyEclipse open JSP default editor is not good, will open the preview at the same time
Windows–>perferences–>general–>editors->file Associations
Change the default to MyEclipse JSP Editor
Turn from: Internet http://www.wubowen.cn/data/127.html

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.