How can I give eclipse more memory than 512M?

后端 未结 7 939
清酒与你
清酒与你 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:32

    Configuring this worked for me: -vmargs -Xms1536m -Xmx2048m -XX:MaxPermSize=1024m on Eclipse Java Photon June 2018

    Running Windows 10, 8 GB ram and 64 bit. You can extend -Xmx2048 -XX:MaxpermSize= 1024m to 4096m too, if your computer has good ram.Mine worked well.

提交回复
热议问题