ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hertel, Oliver" <Oliver.Her...@Dresdner-Bank.com>
Subject OutOfMemory error
Date Thu, 06 Jun 2002 14:54:42 GMT
Hello,

I get an OutOfMemoryError like this:

    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
 
    [javac] java.lang.OutOfMemoryError
    [javac]     <<no stack trace available>>
 
BUILD FAILED
/eu/ffp/ffp_cwa/seu~publish_ux_1.1/seu/build/build.xml:19: Compile failed;
see the compiler error output for details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:820)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:660)
        at org.apache.tools.ant.Task.perform(Task.java:317)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:334)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1216)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1160)
        at org.apache.tools.ant.Main.runBuild(Main.java:605)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)

I'm using this build.xml:

<?xml version="1.0"?>
<project name="ffp_src" default="compile" basedir="/data/work/build">
  <!-- set global properties for this build -->
  <property name="release" value ="8.0_dev" />
  <property name="src" value="${release}_ux/src" />
  <property name="build" value="${release}_ux/serverclasses" />
 
  <target name="init">
    <!-- create the time stamp -->
    <tstamp/>
  </target>
 
  <target name ="compile" depends="init">
    <!-- compile the java code from ${src} into ${build} -->
    <javac srcdir="${src}"
           destdir="${build}"
           memoryInitialSize="32m"
           memoryMaximumSize="256m"
    />
  </target>
</project>

Any hints? There are lots of source files in there, but the machine has
surely enough memory (4 GB).

MfG,

Oliver Hertel

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message