Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE Build failure: OutOfMemoryError: Java heap space
PDE Build failure: OutOfMemoryError: Java heap space [message #580390] Mon, 15 September 2008 16:29
Matt Sither is currently offline Matt SitherFriend
Messages: 33
Registered: July 2009
Member
Hi all,

I'm totally lost. I have an automated build that has been working for about
a month now using this command to build:

java -jar
C:/eclipse/plugins/org.eclipse.equinox.launcher_1.0.100.v200 80509-1800.jar -application
org.eclipse.ant.core.antRunner -buildfile
C:/eclipse/plugins/org.eclipse.pde.build_3.4.0.v20080604/scr ipts/productBuild/productBuild.xml
-Dbuilder=C:/DATA/build/conf

A couple days ago, it started failing. On the first failure, I actually see
an InvocationTargetException (see below). But on every subsequent build, it
runs out of memory. While running the generateFeature ant target, the
script fails because of an OutOfMemoryError. I tried adding -Xmx500 to the
build command, and it didn't help.

Also, I don't know if this makes a difference, but I also can't open eclipse
anymore. (The eclipse.exe in C:/eclipse). I don't know if that's related
or not. If I can't work this out, we'll have to find another way to build.
I desperately don't want to do that, so I would appreciate any help anyone
can give me.

Thanks!
-Matt

...

[java]
[java] build.jars:
[java]
[java] properties:
[java]
[java] init:
[java]
[java] @dot:
[java] [mkdir] Created dir:
C:\DATA\test\build\plugins\core\temp.folder\@dot.bin
[java] [javac] Compiling 84 source files to
C:\DATA\test\build\plugins\core\temp.folder\@dot.bin
[java] [parsing
C:\DATA\test\build\plugins\core\src\com\etm\AbstractEtmPlugi n.java - #1/84]
[java]
[java] BUILD FAILED
[java]
C:\DATA\test\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20 080604\scripts\productBuild\productBuild.xml:29:
The following error occurred while executing this line:
[java]
C:\DATA\test\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20 080604\scripts\build.xml:78:
The following error occurred while executing this line:
[java]
C:\DATA\test\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20 080604\templates\headless-build\customTargets.xml:12:
The following error occurred while executing this line:
[java]
C:\DATA\test\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20 080604\scripts\productBuild\allElements.xml:9:
The following error occurred while executing this line:
[java]
C:\DATA\test\eclipse\plugins\org.eclipse.pde.build_3.4.0.v20 080604\scripts\genericTargets.xml:95:
The following error occurred while executing this line:
[java]
C:\DATA\test\build\features\org.eclipse.pde.build.container. feature\build.xml:94:
The following error occurred while executing this line:
[java]
C:\DATA\test\build\features\org.eclipse.pde.build.container. feature\build.xml:20:
The following error occurred while executing this line:
[java] C:\DATA\test\build\plugins\core\build.xml:169: The following
error occurred while executing this line:
[java] C:\DATA\test\build\plugins\core\build.xml:104:
java.lang.reflect.InvocationTargetException
[java]
[java] Total time: 1 minute 51 seconds
Previous Topic:Problem Exporting Product with Eclipse 3.4
Next Topic:ClassNotFoundException (org.eclipse.swt.widgets.Composite) when running the Testing Framework
Goto Forum:
  


Current Time: Fri Apr 26 07:09:06 GMT 2024

Powered by FUDForum. Page generated in 0.03163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top