zoukankan      html  css  js  c++  java
  • 解决eclipse启动慢

    每次启动eclipse时都要等待半分钟左右,对于追求效率的程序员来说,等待每一秒都是一种折磨,出于高效开发的精神,这个问题必须解决掉。方案如下:

    ①在工具栏中的help中找到about eclipse——>installation details

    计算机生成了可选文字: LL)L1OL〔甘yl)I'I、ul111入LJI'11日‘1lul)LloL',ylllyl、口vvoy.)ovoSearc卜proj掀RunWindowHelp录。司荞或里。日份砂二口口国RubberDuc1pacpubl一WelcomeHelpContentSSearchDynamicHelpKeyAssist…TipsandTrick,…ReportBugorEnhancement…CheatS卜eats…CheckforUpdate、In'tallNew50丘ware…InstallationDdal!sEclipseMarketplace…AboutEclipse甲。{"{口④⑦今Qr卜S卜ift+L…Behavior{0一stuby")二蔺冬导粉帅国曰从『11引习口闷―---Jeses}6『I八6gC〕11C乙".上1111奋亡倪J

    计算机生成了可选文字: 移AboutEclipse一二阵刁、瓦月应EcllpseJavaEEIDEforWebDevelopers.六Version:LunaServiceReleaseZ(4.4.2)Bu;ldid:20150219一0600(c)CopyrightEclip,econtributorsandot卜er,2000.2015.Allright,re,erved.Eclip,eandtheEclip,elogoaretrademarksoftheEclipseFoundation,Inc.,https:刀~.eclipse.org/.TheEclipse1090cannotbealteredwit卜outEclipse'5permission.Eclipse10905areprovidedforuseundertheEclipse1090andtrademarkguidelines,https:刀~.eclipse.org/Iogotm/.oracleandJavaaretrademarksorregi,teredtrademarksoforacleand/oritsa佑l;ates.Ot卜ernamesmaybetrademarksoftheirrespectiveowners·丫奇团国.少备.带C知mp⑦一nsta"at'onDeta',s臀口份每砂吼O}。K{

    ②在Configruation中查看是否有-vm,没有则添加-vm标志

    计算机生成了可选文字: 国EclipseInstallationDetailsInsta!ledSOf俪areIn、t。11。ti。。日i、to,「eat。re、plug一澎飞onoguration*****水oate:2015年:。月5日星期一中国标准时间下午2:41:2。PlatforoDetails:***systemp广operties:application别I=org.eclipse.ui.啪rkbench/LegacyIDE.e4物ia、吐.tO01kit二sun.a树t.windows.包打。。Ikiteclipse.application=org.eclipse.ui.ide.workbencheclipse.buildld礴.4.2.州201502时一17eeeclipse.co一ands=一05win32一WSwin32一己rChX8664一sh洲splashc:eclipse安装\eclipse\pluginsorg.一launcherc:eciipse安装、eclipseeclipse.exe一nameEclipse一launche尸.libraryc:eclipse安装\eclipse\plugins/org.一startupeclipse.platforlll--4.4.2.v201SO2叫一1700splash.bmpec1ipse.equinox.1auncher.win32.win32.x86_64sel.1.2的.、c:eclipse安装\eci一launcher.appendV一productipse\plugin、/org.eclipse.equinoX.launcher_1.3.O.v2O140415一2的8.jar爪己rgs一州c:eclip、e安装\eclipsejreinserve。\j,.dlle。iipse.home.10。。tion=file:/c:/eclipse安装/eciipse/尸J~口·。一eclipse.launcher.name=Eclipseeclipse.pZ.data.area=@config.dir/二/pZ/eclipse.pZ.profile=epp.package.jeeecliPse.Product=org.ec1iPse.ePP.Package.jee.Producteclipse.startTime,1444627109480…《_,日川川日日日日日日日日口「日日日日日日日日日日日ViewErrorLogCopytoClipboard口峨月.

    ③在安装目录下找到eclipse.ini文件,修改堆内存

    我的电脑内存为8G,设置如下:

    -vmargs

    -Xms1024m

    -Xmx2048m

    -XX:PermSize=64M

    -XX:MaxPermSize=1024M

    1G内存推荐为:

    -vmargs

    -Xms128M

    -Xmx512M

    -XX:PermSize=64M

    -XX:MaxPermSize=128M

    2G内存推荐为:

    -vmargs

    -Xms128M

    -Xmx768M

    -XX:PermSize=64M

    -XX:MaxPermSize=512M

    ④在工具栏window中找到preferences,修改启动项

    计算机生成了可选文字: l弓earc卜projectRunWindowJavaEE一strategy/src/com/xufengzhu/strateg、Help尽.司荞兮矛。.',口口一国仑甲幽吟咸tegyementsFlv:atedmethod(,,1can,tfl.....口口口口口口口口口日r……八毽d.王j上lNevvWindowEditorHideToo!baropenperspectiveShowVieWCu,tomizeperspe改ive…SaveperspectiveAs…Resetperspective…CloseperspectiveC10,eAllper;pertive,Navlgation西AndroidSDKManager日AndroidVirtualDeviceManagerWebBrowserpreferences

    计算机生成了可选文字: 国PreferenCeS'General六APPe日ranceCapabilitiesCompare/patchContentTypeSEditorsGlobalizationKeysNe七刀orkConnedi.per,pectivesSearch卜SecurifyServicepolicies…startupandshutdTracingWebBrowserWork,pace·AndroidAntDataManagementStartuPandShutdown口Refreshworkspaceon、tartup口Con们rmexitwhenclosinglastwindow二宝州pIug一in,activatedonstartup:MarketplaceClientEquinoxprovisioningpla任ormAutomaticUpdateSupportWTpWeb、erviceUlplug一inJAX一WSUtilsmZeMarketplaceMylynTasksUlMylynTeamUlRSEUlAndroidDevelopmentToolkit恒旧旧旧旧唱谓侣胃―口口口口口【曰日日日日日―-Rest。reDefa。亩谕…一oKCancel口困月.

                 这些操作完成之后,eclipse10秒便启动了

  • 相关阅读:
    3-2 案例准备工作
    3-1 Git下载与安装
    3-1 案例环境初始化
    1-2+并发编程初体验
    Linux
    HTTP
    Linux
    HTML
    Linux 命令
    MySQL
  • 原文地址:https://www.cnblogs.com/Jack-zhao/p/7845631.html
Copyright © 2011-2022 走看看