简体   繁体   English

eclipse插件中的OutOfMemoryError

[英]OutOfMemoryError in eclipse plug-in

I keep on getting OutOfMemoryError with my eclipse plug-in. 我的eclipse插件不断出现OutOfMemoryError All I get is the message in the console. 我得到的只是控制台中的消息。 Any clues? 有什么线索吗?

!ENTRY org.eclipse.ui 4 0 2012-03-15 00:03:44.426 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.OutOfMemoryError : PermGen space !ENTRY org.eclipse.ui 4 0 2012-03-15 00:03:44.426!MESSAGE未处理的事件循环异常!STACK 0 java.lang.OutOfMemoryError :PermGen空间

You need to increase the permgen space. 您需要增加permgen空间。 Assuming you are using Sun jdk, try "-XX:MaxPermSize=128m". 假设您正在使用Sun jdk,请尝试“ -XX:MaxPermSize = 128m”。 128m is an example, you might need lesser or more depending on your configuration. 例如128m,根据您的配置,您可能需要更少或更多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM