DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4252>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4252

Out of Memory

           Summary: Out of Memory
           Product: Ant
           Version: 1.4
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Build Process
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hey, there;
      I have tried to use the version 1.4 ant to compile my sourcecode in 
Solaris.
      Jave version is 1.2.1 
         Here is my part of build.xml.
         <target name="compile" depends="init">
                   <!-- Compile the java code from ${src} into ${build} -->
                    <javac memoryMaximumSize="512m" srcdir="${sourcecode}" 
destdir="${build}">
                                <classpath refid="baseclasses"/>
                    </javac>
         </target>

         I got the error message, "[javac] Compiling 532 source files 
to /home/ctung/sourcecode/classes
    [javac] -J-Xmx512m is an invalid option or argument."
        
        
           
        If I get ride of "memoryMaximumSize" in build.xml, I got "out of 
Memory" error message.
        Do you know how I can solve the "out of memory" problem?
 
        Thanks for your helps.
        Chien

Reply via email to