[jbossts-issues] [JBoss JIRA] (JBTM-2277) GC Overhead issue when building WildFly Full Feature Pack

Michael Musgrove (JIRA) issues at jboss.org
Tue Nov 11 09:34:14 EST 2014

    [ https://issues.jboss.org/browse/JBTM-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018727#comment-13018727 ] 

Michael Musgrove commented on JBTM-2277:

The oracle tuning guide (http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html) says:

The parallel collector will throw an OutOfMemoryError if too much time is being spent in garbage collection: if more than 98% of the total time is spent in garbage collection and less than 2% of the heap is recovered, an OutOfMemoryError will be thrown

and then goes on to discuss the parallel garbage collector. Adding the following setting to the build resolves the issue:

> GC Overhead issue when building WildFly Full Feature Pack
> ---------------------------------------------------------
>                 Key: JBTM-2277
>                 URL: https://issues.jboss.org/browse/JBTM-2277
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Gytis Trikleris
>            Assignee: Michael Musgrove
>            Priority: Blocker
>             Fix For: 5.0.4
> {code}
> [ERROR] GC overhead limit exceeded -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
> {code}

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list