Debug eclipse插件项目 - PermGen空间,内存不足错误 [英] Debug eclipse plugin project -- PermGen space, out of memory error

查看:91
本文介绍了Debug eclipse插件项目 - PermGen空间,内存不足错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个插件项目。当我将它调试为eclipse应用程序时,在打开的第二个eclipse中,我想打开Project Explorer窗口。一旦我点击按钮来做到这一点,我得到 java.lang.OutOfMemoryError:PermGen空间。我尝试改变PermGen空间的偏好,但没有帮助。你可以添加 -XX:MaxPermSize = 256m

解决方案

/ code>或512m到窗口>首选项> Java>已安装JREs 首选项页面。编辑JRE并将其添加到默认VM参数选项卡。



eclipse本机启动器使用eclipse.ini向Oracle JVM添加额外的permgen参数,但是该信息是在运行时启动期间未使用。


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 to do this, I get java.lang.OutOfMemoryError: PermGen space. I tried changing the PermGen space in the preference, but it did not help. Can any one please suggest a solution.

解决方案

You should add the -XX:MaxPermSize=256m or 512m to the Window>Preferences>Java>Installed JREs preference page. Edit a JRE and add it to the Default VM arguments tab.

The eclipse native launcher uses the eclipse.ini to add extra permgen arguments to Oracle JVMs, but that information is not used during runtime launching.

这篇关于Debug eclipse插件项目 - PermGen空间,内存不足错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆