RE: Anthill build java.lang.OutOfMemoryError
Heston Fernandes <hestonfernandes-/[email protected]> Thu, 2 Nov 2006 15:46:14 -0800 (PST)
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Hello,
In reply to your questions
AIX Version: 5.3.0.0
Memory: 4GB
JVM Allocated Memory: 1024M
At the time I'm trying to build it only around 120M is
used up
Log file extract:
17:36:23:121 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - Build Command:
/opt/websites/wwwsmasdev/anthill/lib/ant/bin/ant
-DdeployDir=/opt/websites/wwwsmasdev/anthill/publishDir/TT_Branch_2_4
-Dversion=VERSION_2_4-2.4.4 -Dkit=VERSION_2_4-2.4.4
-buildfile
/opt/websites/wwwsmasdev/anthill/work/VERSION_2_4/Timetabling/build.xml
-logfile
/opt/websites/wwwsmasdev/anthill/publishDir/TT_Branch_2_4/buildLogs/TT_Branch_2_4-VERSION_2_4-2.4.4-build.log
build-dev
The above extract is the command anthill tries to
execute before it fails. I run the exact same command
from the shell prompt and it gets built without any
errors. The rest of the log file is as follows
17:36:23:121 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - Explicity set
environment variables:
17:36:23:121 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager -
ANT_HOME=/opt/websites/wwwsmasdev/anthill/lib/ant
17:36:23:121 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager -
Execute:Java13CommandLauncher: Executing
'/opt/websites/wwwsmasdev/anthill/lib/ant/bin/ant'
with arguments:
'-DdeployDir=/opt/websites/wwwsmasdev/anthill/publishDir/TT_Branch_2_4'
'-Dversion=VERSION_2_4-2.4.4'
'-Dkit=VERSION_2_4-2.4.4'
'-buildfile'
'/opt/websites/wwwsmasdev/anthill/work/VERSION_2_4/TT/build.xml'
'-logfile'
'/opt/websites/wwwsmasdev/anthill/publishDir/TT_Branch_2_4/buildLogs/TT_Branch_2_4-VERSION_2_4-2.4.4-build.log'
'build-dev'
The ' characters around the executable and arguments
are
not part of the command.
WorkingDir:
/opt/websites/wwwsmasdev/anthill/work/VERSION_2_4/TT
Buildfile:
/opt/websites/wwwsmasdev/anthill/work/VERSION_2_4/TT/build.xml
17:36:34:687 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager - Failed to Build
project. Error: 1
java.lang.Exception: Failed to Build project. Error: 1
at
com.urbancode.anthill.BuildManager.buildProject(BuildManager.java:519)
at
com.urbancode.anthill.BuildManager.runBuild(BuildManager.java:402)
at
com.urbancode.anthill.BuildManager.build(BuildManager.java:186)
at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:220)
at
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
at
com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
17:36:34:688 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.BuildManager - Step 6) Tag
project (if set to success):
17:36:34:688 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter -
Get revisions since command:
...
Heston
--- [email protected] wrote:
> Heston,
>
> it seems that you are running out of memory during
> the actual build so you
> probably need to increase the memory available to
> the jvm. Search on how
> to increase the memory available to ant on the net.
>
> Regards,
> Varban
>
> > Heston,
> >
> > What version of AIX are you running and how close
> to being out of memory
> > were you before the upgrade?
> >
> > -Ben
> >
> > -----Original Message-----
> > From: anthill-bounces-IWHQxnLZ/[email protected]
> > [mailto:anthill-bounces-IWHQxnLZ/[email protected]] On
> Behalf Of Heston
> > Fernandes
> > Sent: Wednesday, November 01, 2006 2:38 PM
> > To: anthill-IWHQxnLZ/[email protected]
> > Subject: [Anthill] Anthill build
> java.lang.OutOfMemoryError
> >
> > I am using the latest version of AntHill OS. It is
> installed on an AIX
> > machine with IBM Java. Recently I upgraded the
> Tomcat Server to version
> > 5.5 and Java 1.4 to Java 5 (64 bit version).
> Since that upgrade I'm
> > getting the following error when I try to build a
> project
> >
> > [javac] The system is out of resources.
> > [javac] Consult the following stack trace for
> details.
> > [javac] java.lang.OutOfMemoryError
> > [javac] at
> >
>
com.sun.tools.javac.util.Name.fromChars(Name.java:136)
> > [javac] at
> >
>
com.sun.tools.javac.util.Name.fromString(Name.java:165)
> > [javac] at
> >
>
com.sun.tools.javac.util.Name$Table.fromString(Name.java:534)
> > [javac] at
> >
>
com.sun.tools.javac.jvm.ClassReader.includeClassFile(ClassReader.java:17
> > 15)
> > [javac] at
> >
>
com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1795)
> > [javac] at
> >
>
com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1903)
> > [javac] at
> >
>
com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1928)
> > [javac] at
> >
>
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1559)
> > [javac] at
> >
>
com.sun.tools.javac.code.Symbol.complete(Symbol.java:382)
> > [javac] at
> >
>
com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:261)
> > [javac] at
> >
>
com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:403)
> > [javac] at
> >
>
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:226)
> > [javac] at
> >
>
com.sun.tools.javac.comp.Enter.classEnter(Enter.java:240)
> > [javac] at
> >
>
com.sun.tools.javac.comp.Enter.complete(Enter.java:453)
> > [javac] at
> >
> com.sun.tools.javac.comp.Enter.main(Enter.java:438)
> > [javac] at
> >
>
com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:438)
> > [javac] at
> >
> com.sun.tools.javac.main.Main.compile(Main.java:605)
> > [javac] at
> >
> com.sun.tools.javac.main.Main.compile(Main.java:557)
> > [javac] at
> > com.sun.tools.javac.Main.compile(Main.java:98)
> > [javac] at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > [javac] at
> >
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> > a:64)
> > [javac] at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> > Impl.java:43)
> > [javac] at
> > java.lang.reflect.Method.invoke(Method.java:615)
> > [javac] at
> >
>
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:55)
> > [javac] at
> >
>
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
> > [javac] at
> >
>
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
> > [javac] at
> >
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> > [javac] at
> > org.apache.tools.ant.Task.perform(Task.java:364)
> > [javac] at
> >
> org.apache.tools.ant.Target.execute(Target.java:341)
> > [javac] at
> >
>
org.apache.tools.ant.Target.performTasks(Target.java:369)
> > [javac] at
> >
>
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> > [javac] at
> >
>
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> > [javac] at
> >
>
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecut
> > or.java:40)
> > [javac] at
> >
>
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> > [javac] at
> > org.apache.tools.ant.Main.runBuild(Main.java:668)
> > [javac] at
> > org.apache.tools.ant.Main.startAnt(Main.java:187)
> > [javac] at
> >
>
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
> > [javac] at
> >
>
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> >
> > Any help or input in this matter would be
> appreciated.
> >
> >
> > Thanks,
> >
> > Heston
> >
> >
> >
> >
>
________________________________________________________________________
> > ____________
> > Access over 1 million songs - Yahoo! Music
> Unlimited
> > (http://music.yahoo.com/unlimited)
> >
> > _______________________________________________
> > Anthill mailing list
> > Anthill-IWHQxnLZ/[email protected]
> >
> http://lists.urbancode.com/mailman/listinfo/anthill
> > _______________________________________________
> > Anthill mailing list
> > Anthill-IWHQxnLZ/[email protected]
> >
> http://lists.urbancode.com/mailman/listinfo/anthill
> >
>
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill
>
__________________________________________________________________________________________
Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster.
(http://advision.webevents.yahoo.com/mailbeta)