[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:
{quote}
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
{/quote}
and then goes on to discuss the parallel garbage collector. Adding the following setting to the build resolves the issue:
MAVEN_OPTS="-XX:+UseConcMarkSweepGC"
> 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
>
>
> http://172.17.131.2/view/Status/job/narayana-AS800/628/
> {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
(v6.3.8#6338)
More information about the jbossts-issues
mailing list