ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshuman Moni" <anshuman.m...@cominsights.com>
Subject Re: OutofMemory Problem
Date Mon, 14 Apr 2003 10:42:19 GMT
try 

 <target name="compile"  depends="init"
    description="--> Compile Tests">
    <javac srcdir="."
      destdir="/nsjusr/gautam/javap/tux/classes"
      debug="true"
      deprecation="${deprecation}"
      nowarn="${nowarn}"
      verbose="${verbose}"
      includes="*.java"
    fork="true" memoryInitialSize="128m" memoryMaximumSize="256m" optimize="on" 
/>

- ASM
  ----- Original Message ----- 
  From: gautam m 
  To: user@ant.apache.org 
  Sent: Monday, April 14, 2003 4:05 PM
  Subject: OutofMemory Problem


  Hi ,
    I am getting java.lang.outofMemory Problem while using ant tool,
    ONe of the suggestion given was use ANT_OPTS=-Xmx256m. 
    This option has to be given in this way export ANT_OPTS=-Xmx256m
    giving it in this way and then giving command ant -verboes.
    I dont see this option being picked up.
    
    Can anyone clarify.

    <target name="compile"  depends="init"
      description="--> Compile Tests">
      <javac srcdir="."
        destdir="/nsjusr/gautam/javap/tux/classes"
        debug="true"
        deprecation="${deprecation}"
        optimize="false"
        nowarn="${nowarn}"
        verbose="${verbose}"
        includes="*.java"/>


  Rgds,
  Gautam.M.S


  ____________________________________________________________
  Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year.
  http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message