ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravi appala <appal...@yahoo.com>
Subject Re: problems with memory
Date Thu, 21 Nov 2002 17:15:05 GMT
use - maxmemory="100m"


--- Miguel González Castaños <mgc@tid.es> wrote:
> Sorry that I didnt give all the details:
> 
> JDK - I have downloaded jdk118_v3-glibc-2.1.3.tar
> from Blackdown.
> OS - Linux RedHat 7.3
> 
> I do not know how to increase the amount of memory
> available for the compiler, I
> have seen that there is the ANT_OPTS environment
> variable, but I havent found
> any documentation about it.
> 
> Many thanks in advance
> 
> Miguel
> 
> 
> 
> 
> Markus Dettori ha escrito:
> 
> > Hi,
> > did you try to fork all forkable tasks
> > and which tasks are used in your target.
> > Best, show us your target.
> > Are your using the java VM in -classic or -hotspot
> mode ?
> >
> > Markus
> >
> > ----- Original Message -----
> > From: "Miguel González Castaños" <mgc@tid.es>
> > To: "Ant Users List" <ant-user@jakarta.apache.org>
> > Sent: Thursday, November 21, 2002 4:21 PM
> > Subject: problems with memory
> >
> > > Hello,
> > >
> > >  I am trying to install Ant with the Xerces XML
> parser. For that I
> > downloaded
> > > the jakarta-ant-1.5.1-src.zip.
> > >
> > >  I executed the bootstrap.sh script and the
> build.sh scritps and I got
> > this:
> > >
> > >
> ====================================================
> > >
> > > [root@domolinux jakarta-ant-1.5.1]# ./build.sh
> install
> > > Buildfile: build.xml
> > >
> > > install:
> > >
> > > prepare:
> > >
> > > check_for_optional_packages:
> > >
> > > build:
> > > Compiling 378 source files to
> /var/tmp/jakarta-ant-1.5.1/build/classes
> > > java.lang.OutOfMemoryError:
> > >         at
> java.io.BufferedReader.<init>(BufferedReader.java)
> > >         at
> java.io.BufferedReader.<init>(BufferedReader.java)
> > >         at
> >
>
sun.tools.java.ScannerInputStream.<init>(ScannerInputStream.java)
> > >         at
> sun.tools.java.Scanner.useInputStream(Scanner.java)
> > >         at
> sun.tools.java.Scanner.<init>(Scanner.java)
> > >         at
> sun.tools.java.Parser.<init>(Parser.java)
> > >         at
> sun.tools.javac.BatchParser.<init>(BatchParser.java)
> > >         at
> >
>
sun.tools.javac.BatchEnvironment.parseFile(BatchEnvironment.java)
> > >         at
> sun.tools.javac.Main.compile(Main.java)
> > >         at
> > >
>
org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:106)
> > >         at
>
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:840)
> > >         at
>
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
> > >         at
> org.apache.tools.ant.Task.perform(Task.java:319)
> > >         at
> org.apache.tools.ant.Target.execute(Target.java:309)
> > >         at
>
org.apache.tools.ant.Target.performTasks(Target.java:336)
> > >         at
>
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> > >         at
>
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
> > >         at
> > >
>
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
> > >         at
> org.apache.tools.ant.Task.perform(Task.java:319)
> > >         at
> org.apache.tools.ant.Target.execute(Target.java:309)
> > >         at
>
org.apache.tools.ant.Target.performTasks(Target.java:336)
> > >         at
>
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> > >         at
>
org.apache.tools.ant.Project.executeTargets(Project.java:1250)
> > >         at
> org.apache.tools.ant.Main.runBuild(Main.java:610)
> > >         at
> org.apache.tools.ant.Main.start(Main.java:196)
> > >         at
> org.apache.tools.ant.Main.main(Main.java:235)
> > > error: An error has occurred in the compiler;
> please file a bug report
> > > (http://java.sun.com/cgi-bin/bugreport.cgi).
> > >
> > > BUILD FAILED
> > > file:/var/tmp/jakarta-ant-1.5.1/build.xml:571:
> Error starting classic
> > compiler:
> > >
> > >
> ====================================================
> > >
> > > I have a Pentium Celeron with 256 Mb and 600 Mb
> of swap space. I dont know
> > how
> > > I can fix this problem. I need
> > > ant working to build the jdbc driver for
> PostgreSQL.
> > >
> > > Many thanks in advance and sorry for the length
> of the email.
> > >
> > > Miguel
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> >
> > --
> > To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


=====
Thanks,
RAVI KUMAR APPALA

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
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