[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-dev
Subject:    RE: out of memory javadoc task
From:       "Conor MacNeill" <conor () cortexebusiness ! com ! au>
Date:       2000-07-31 22:30:36
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic