pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3922) Increase Forrest heap size to avoid OutOfMemoryError building docs
Date Sat, 10 May 2014 22:14:44 GMT

     [ https://issues.apache.org/jira/browse/PIG-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Cheolsoo Park updated PIG-3922:
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thank you Philip!

> Increase Forrest heap size to avoid OutOfMemoryError building docs
> ------------------------------------------------------------------
>
>                 Key: PIG-3922
>                 URL: https://issues.apache.org/jira/browse/PIG-3922
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Philip (flip) Kromer
>            Assignee: Philip (flip) Kromer
>            Priority: Minor
>              Labels: ant, build, docs, fop, forrest, javadoc
>             Fix For: 0.13.0
>
>         Attachments: 0001-Increased-Forrest-heap-size-to-fix-build-of-docs.patch
>
>
> Trying to build the 'tar' target fails for me with an OutOfMemoryError from forrest deep
in the build process.
> The attached patch increases the heap size for the forrest task from 64m to 256m by changing
the single line 'forrest.maxmemory=256m' in src/docs/forrest.properties.
> Here's the stacktrace, mostly to make the issue more googleable.
> {code}
>      [exec] * [44/5]    [0/0]     7.135s 0b      basic.pdf
>      [exec] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit
exceeded
>      [exec] 	at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:64)
>      [exec] 	at java.lang.StringBuffer.<init>(StringBuffer.java:96)
>      [exec] 	at org.apache.fop.render.pdf.PDFRenderer.renderSpace(PDFRenderer.java:1494)
>     (...snip...)
>      [exec] Java Result: 1
>      [exec]   Copying broken links file to site root.
>      [exec] BUILD FAILED
>      [exec] /usr/local/share/apache-forrest/main/targets/site.xml:224: Error building
site.
>      [exec]   - See /Users/flip/ics/data_science_fun_pack/pig/pig/src/docs/build/site/broken-links.xml
> BUILD FAILED
> /Users/flip/ics/data_science_fun_pack/pig/pig/build.xml:633: exec returned: 1
> {code}
> (Incidentally: after fixing that I also hit an NPE from Ant on a later stage of the javadoc
build. That was fixed by moving from ant 1.9.3 to ant 1.9.4):
> {code}
> /Users/flip/ics/data_science_fun_pack/pig/pig/build.xml:1464: java.lang.NullPointerException
> 	at org.apache.tools.ant.taskdefs.Javadoc.postProcessGeneratedJavadocs(Javadoc.java:2450)
> 	at org.apache.tools.ant.taskdefs.Javadoc.execute(Javadoc.java:1790)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> 	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message