Debug eclipse plugin project — PermGen space, out of memory error

前端 未结 3 647
故里飘歌
故里飘歌 2021-01-04 08:11

I have a plugin project. When i debug this as an eclipse application, in the 2nd eclipse that opens, I want to open Project explorer window. As soon as I click on the button

3条回答
  •  清酒与你
    2021-01-04 09:07

    If you don't want to set the permgen size for EVERY launch, you can also add the Parameter to the Debug Configuration.

    Run > Debug Configurations
    

    Choose the "Eclpise Application"-Configuration on the right side and choose Arguments in the Tabs.

    Add -XX:MaxPermSize=512m to the VM arguments:

    -Dosgi.requiredJavaVersion=1.6 -Xms256m -Xmx4g -Dfile.encoding=UTF-8 -XX:MaxPermSize=512m
    

提交回复
热议问题