ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: out of memory javadoc task
Date Mon, 31 Jul 2000 22:30:36 GMT
>
> At 6:26 PM +0200 7/31/2000, Stefan Bodewig wrote:
> >  >>>>> "t" == tcmits1  <tcmits1@cs.com> writes:
> >
> >  t> $JAVACMD -J-Xmx128m -Dant.home=${ANT_HOME}
> org.apache.tools.ant.Main $@
> >
> >Ant spawns of a new VM to run javadoc and the memory settings to Ant
> >are not carried over. Try the maxmemory attribute of the javadoc task
> >instead.
>
> So, the javadoc task runs in a separate VM? Why? Javac doesn't, so I
> don't see why javadoc should. Is it because you need to manipulate
> working directories?
>
No,

it is because javadoc calls System.exit(). Itmay be possible to use a loader
and a security manager to avoid that but I don't know if it is worth the
effort.

Conor


Mime
View raw message