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

List:       freedesktop-xorg-devel
Subject:    Re: java OutOfMemory building documentation
From:       Younes Manton <younes.m () gmail ! com>
Date:       2010-09-29 15:41:23
Message-ID: AANLkTimwxPi3TgG68k_azUtWTw_BDwpQhRUW2evyP0CE () mail ! gmail ! com
[Download RAW message or body]

On Wed, Sep 29, 2010 at 2:25 AM, Jeremy Huddleston <jeremyhu@apple.com> wrote:
> This change seems to be causing documentation to fail building on yuffie due
> to java running out of memory…
> http://tinderbox.x.org/builds/2010-09-22-0004/logs/libX11/#build
> I seem to recall other "OutOfMemory" errors being reported wrt documentation
> earlier, but I don't recall any resolution.  Looking at fop, it looks like
> we can setup a FOP_OPTS environment variable with an appropriate -Xmx
> argument to be passed along to java.  I just tested this on yuffie by adding
> the following to my tinderbox script, and it resolved my build failure:
> export FOP_OPTS="-Xmx2048m"
> Obviously setting the max VM size as 2G universally isn't the best solution.
>  I also don't expect everyone to know about FOPS_OPTS either, so what is the
> best way to resolve this across modules?

It's not a terrible solution, it's not like you'll actually be using
2G on any halfway sane jvm except when you need it, it's just an upper
bound.
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

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

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