[Mulgara-dev] Mulgara Javadoc..

Life is hard, and then you die ronald at innovation.ch
Sun Nov 2 07:33:24 UTC 2008


On Sun, Nov 02, 2008 at 02:14:07AM -0500, Paul Gearon wrote:
> On Sun, Nov 2, 2008 at 2:10 AM, Life is hard, and then you die
> <ronald at innovation.ch> wrote:
> > On Sun, Nov 02, 2008 at 12:54:05AM -0500, Paul Gearon wrote:
> >> Hmmm, I'm on a Mac and I'm having the same problem.
> >>
> >> I increased the flags to: -Xms256m -Xmx1024m
> >> and I'm still getting OOM errors, but now it seems to be non-fatal.
> >> (However, the build is so long that it might still fail on me).
> >
> > Can you show the exact error message? Is it heap that it needs? Or is
> > it running out of perm-gen space?
> 
> Most of the time I have blocks of:
>   [javadoc] java.lang.OutOfMemoryError: Java heap space
[snip]
> But occasionally the following appears:
>   [javadoc] java.lang.OutOfMemoryError: Java heap space
>   [javadoc] 	at java.util.Hashtable.put(Hashtable.java:422)
>   [javadoc] 	at sun.text.resources.DateFormatZoneData.loadLookup(DateFormatZoneData.java:148)
[snip]
> This is running with mx1024m. This finishes, though it does give all
> those errors.

1G is insane. And like I said, I have no trouble building on Linux
with the default 256M.

Oh, wait: javadoc is run in a separate jvm instance (because it calls
System.exit), so it won't care what you give in the build.{sh,bat} -
instead try adding the 'maxmemory' attribute to the javadoc task in
build.xml and see if that helps (e.g. maxmemory="256m").


  Cheers,

  Ronald




More information about the Mulgara-dev mailing list