I using ant  build file to compile “.java” files  .I get   
java.lang.OutOfMemoryError.
      Here is the build file
            <property  name="compile.debug" value="true" />
            <property  name="compile.deprecation" value="false" />
            <property  name="compile.optimize" value="true" />
       
            <path  id="compile.classpath">
                  <pathelement  location="${basedir}/bin"/>
                  <pathelement  location="${frmlib.home}"/>
                  <fileset  dir="${frmlib.home}">
                        <include  name="*.jar" />
                  </fileset>
                  <fileset  dir="${warlib.home}">
                        <include  name="*.jar" />
                  </fileset>
            </path>
       
       
                  <javac  srcdir="${src.home}" destdir="${build.home.classes}"  
debug="${compile.debug}"  deprecation="${compile.deprecation}"  
optimize="${compile.optimize}">
                        <classpath  refid="compile.classpath" />
                  </javac>
       
      compile:
          [javac] Compiling 2424  source files to 
C:\java\eclipse\eclipse\workspace\Fema\build\classes
          [javac] The system  is out of resources.
          [javac] Consult the  following stack trace for details.
          [javac]  java.lang.OutOfMemoryError
       
      BUILD FAILED
      C:\java\eclipse\eclipse\workspace\Fema\fema-build-1.xml:80:  Compile 
failed; see the compiler error output for details.
       
       
      What  could be the problem?
    
                
---------------------------------
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.

Reply via email to