Eclipse Indigo typing lag on OS X Lion

后端 未结 2 509
借酒劲吻你
借酒劲吻你 2021-02-05 16:33

I am working on a fairly large project and have recently bumped into the good old friend of mine from the 90\'s, typing lag. My setup is MacBook Pro 2.2 GHz i7 8GB with

2条回答
  •  半阙折子戏
    2021-02-05 17:13

    Jivings was right about the root of the problem being in the eclipse.ini file.

    I am not sure what I have actually changed in the eclipse.ini after messing around with the it, since the TimeMachine does not seem to be able to save a backup of the .ini file inside the Eclipse application package (Eclipse/Contents/MacOS/eclipse.ini).

    I actually lowered the MaxPermSize and other memory values which made Eclipse run smoother. If anyone else is encountering the same problem, I suggest you try similar values and see if that works. If it doesn't, I also read that you can start eclipse once with the -clean argument, which cleans up some installation and usage history among other things. I did not do that, but it's worth a try.

    The following is my current configuration, and it works pretty well:

    -startup
    ../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.library
    ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.100.v20110502
    -product
    org.eclipse.epp.package.jee.product
    --launcher.defaultAction
    openFile
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -XstartOnFirstThread
    -Dorg.eclipse.swt.internal.carbon.smallFonts
    -XX:MaxPermSize=256m
    -Xms40m
    -Xmx512m
    -Xdock:icon=../Resources/Eclipse.icns
    -XstartOnFirstThread
    -Dorg.eclipse.swt.internal.carbon.smallFonts
    

提交回复
热议问题