English 中文(简体)
Eclipse OutOfMemory
原标题:Eclipse OutOfMemory
  • 时间:2012-01-13 19:39:44
  •  标签:
  • eclipse

My physical memory is 8GB and my Eclipse VM configuration is -ea -Xms512M -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=512M.

我仍然想到“我”

java.lang.OutOfMemoryError:GC超额间接费用

“问题”。

如何解决这一问题? 谢谢。

问题回答

<>Xmx1024m> 系指“在蒸汽中不使用超过一千兆字节”。 如果你要把Eclipse能够使用的肥皂面积增加一倍,则将其改为-Xmx2048<>。

你正在发现的错误是——尽管这是外围的——由于你没有足够记忆,没有被抛弃,因此,你们的记忆不断增多,无法解决你面临的问题。 详情见。 Error java.lang.OutOfMemoryError:GC超限()。





相关问题
In Eclipse, why doesn t "Show In" appear for non-Java files?

If I have a *java file open, I can right click on the source, scroll down to "Show In (Alt-Shift-W)", and select Navigator. If I have an *xml, *jsp, or pretty much anything besides a Java source ...

Eclipse: Hover broken in debug perspective

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable s value. Instead, hover behaves as if I were in normal Java perspective: alt text http://...

Eclipse smart quotes - like in Textmate

Happy Friday — Does anyone know if eclipse has the notion of smart quotes like Textmate. The way it works is to select some words and quote them by simply hitting the " key? I m a newbie here so be ...

Indentation guide for the eclipse editor

Is there a setting or plugin for eclipse that can show indentation guides in the editor? Something like the Codekana plugin for visual studio (not so fancy is also OK). Important that it works with ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

How to copy multiple projects into single folder in eclipse

I have two projects, Project1 and Project2. Now i want to copy this projects into eclipse workspace but i want these projects to be in a single folder like below. Eclipse Workspace -> Project -> ...

Java: Finding out what is using all the memory

I have a java application that runs out of memory, but I have no idea which code is allocating the memory. Is there an application with which I can check this? I use Eclipse.