java OutOfMemory building documentation

Jeremy Huddleston jeremyhu at apple.com
Tue Sep 28 23:25:05 PDT 2010


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?

On Sep 21, 2010, at 18:25, Alan Coopersmith wrote:

> COPYING                          |    2 
> configure.ac                     |   62 ------
> cpprules.in                      |    2 
> nls/.gitignore                   |    2 
> nls/C/Makefile.am                |    3 
> nls/Makefile.am                  |   61 +++++-
> nls/am_ET.UTF-8/Makefile.am      |    3 
> nls/armscii-8/Makefile.am        |    3 
> nls/compose-chart.pl             |  389 +++++++++++++++++++++++++++++++++++++++
> nls/compose-check.pl             |    7 
> nls/el_GR.UTF-8/Makefile.am      |    3 
> nls/en_US.UTF-8/Makefile.am      |    3 
> nls/fi_FI.UTF-8/Makefile.am      |    3 
> nls/georgian-academy/Makefile.am |    3 
> nls/georgian-ps/Makefile.am      |    3 
> nls/ibm-cp1133/Makefile.am       |    3 
> nls/iscii-dev/Makefile.am        |    3 
> nls/isiri-3342/Makefile.am       |    3 
> nls/iso8859-1/Makefile.am        |    3 
> nls/iso8859-10/Makefile.am       |    3 
> nls/iso8859-11/Makefile.am       |    3 
> nls/iso8859-13/Makefile.am       |    3 
> nls/iso8859-14/Makefile.am       |    3 
> nls/iso8859-15/Makefile.am       |    3 
> nls/iso8859-2/Makefile.am        |    3 
> nls/iso8859-3/Makefile.am        |    3 
> nls/iso8859-4/Makefile.am        |    3 
> nls/iso8859-5/Makefile.am        |    3 
> nls/iso8859-6/Makefile.am        |    3 
> nls/iso8859-7/Makefile.am        |    3 
> nls/iso8859-8/Makefile.am        |    3 
> nls/iso8859-9/Makefile.am        |    3 
> nls/iso8859-9e/Makefile.am       |    3 
> nls/ja.JIS/Makefile.am           |    3 
> nls/ja.S90/Makefile.am           |    3 
> nls/ja.SJIS/Makefile.am          |    3 
> nls/ja.U90/Makefile.am           |    3 
> nls/ja/Makefile.am               |    3 
> nls/ja_JP.UTF-8/Makefile.am      |    3 
> nls/ko/Makefile.am               |    3 
> nls/ko_KR.UTF-8/Makefile.am      |    3 
> nls/koi8-c/Makefile.am           |    3 
> nls/koi8-r/Makefile.am           |    3 
> nls/koi8-u/Makefile.am           |    3 
> nls/localerules.in               |   13 -
> nls/microsoft-cp1251/Makefile.am |    3 
> nls/microsoft-cp1255/Makefile.am |    3 
> nls/microsoft-cp1256/Makefile.am |    3 
> nls/mulelao-1/Makefile.am        |    3 
> nls/nokhchi-1/Makefile.am        |    3 
> nls/pt_BR.UTF-8/Makefile.am      |    3 
> nls/ru_RU.UTF-8/Makefile.am      |    3 
> nls/tatar-cyr/Makefile.am        |    3 
> nls/th_TH.UTF-8/Makefile.am      |    3 
> nls/th_TH/Makefile.am            |    3 
> nls/tscii-0/Makefile.am          |    3 
> nls/vi_VN.tcvn/Makefile.am       |    3 
> nls/vi_VN.viscii/Makefile.am     |    3 
> nls/zh_CN.UTF-8/Makefile.am      |    3 
> nls/zh_CN.gb18030/Makefile.am    |    3 
> nls/zh_CN.gbk/Makefile.am        |    3 
> nls/zh_CN/Makefile.am            |    3 
> nls/zh_HK.UTF-8/Makefile.am      |    3 
> nls/zh_HK.big5/Makefile.am       |    3 
> nls/zh_HK.big5hkscs/Makefile.am  |    3 
> nls/zh_TW.UTF-8/Makefile.am      |    3 
> nls/zh_TW.big5/Makefile.am       |    3 
> nls/zh_TW/Makefile.am            |    3 
> specs/xmlrules.in                |   10 -
> 69 files changed, 464 insertions(+), 264 deletions(-)
> 
> New commits:
> commit 986bb6d1d54368fe91e3ea24f518d43ce6179782
> Author: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date:   Tue Sep 14 00:10:31 2010 -0700
> 
>    Bug 19379 - Provide docs with overview of all compose key combinations
> 
>    Adds compose-chart.pl to generate DocBook/XML documents listing compose
>    keys, and Makefile rules to generate HTML & PDF output from them if xmlto
>    is present.
> 
>    https://bugs.freedesktop.org/show_bug.cgi?id=19379
> 
>    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
>    Reviewed-by: Mikhail Gusarov <dottedmag at dottedmag.net>
>    Reviewed-by: James Cloos <cloos at jhcloos.com>
>    Tested-by: Gaetan Nadon <memsize at videotron.ca>
> 
> commit 3eb064071695ebf0f371163ed818a428dfeba8e6
> Author: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date:   Sat Sep 11 00:49:21 2010 -0700
> 
>    Make locale data build non-recursive / parallelizable
> 
>    On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time,
>    plus this simplifies the next set of changes.
> 
>    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
>    Reviewed-by: Mikhail Gusarov <dottedmag at dottedmag.net>
>    Reviewed-by: James Cloos <cloos at jhcloos.com>
>    Tested-by: Gaetan Nadon <memsize at videotron.ca>
> 
> _______________________________________________
> xorg-commit mailing list
> xorg-commit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg-commit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100928/3ae77c1d/attachment.html>


More information about the xorg-devel mailing list