How can I give eclipse more memory than 512M?

后端 未结 7 929
清酒与你
清酒与你 2020-11-28 02:31

I have following setup, but when I put 1024 and replace all 512 with 1024, then eclipse won\'t start at all. How can I have more than 512M memory for my eclipse JVM?

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 03:13

    I don't think you need to change the MaxPermSize to 1024m. This works for me:

    -startup
    plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
    -product
    org.eclipse.epp.package.jee.product
    --launcher.XXMaxPermSize
    256M
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms256m
    -Xmx1024m
    -XX:PermSize=64m
    -XX:MaxPermSize=128m
    

提交回复
热议问题