[jboss-jira] [JBoss JIRA] (WFLY-8013) Out of memory exception after a number of remote deploys

Tiago Matias (JIRA) issues at jboss.org
Thu Feb 2 10:53:00 EST 2017


Tiago Matias created WFLY-8013:
----------------------------------

             Summary: Out of memory exception after a number of remote deploys
                 Key: WFLY-8013
                 URL: https://issues.jboss.org/browse/WFLY-8013
             Project: WildFly
          Issue Type: Enhancement
          Components: Server
    Affects Versions: 10.1.0.Final
         Environment: Server: Ubuntu 16.04.1 LTS x64

Startup arguments:
{{
 java -D[Standalone] -server -Xms256m -Xmx8096m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Dorg.jboss.boot.log.file=/opt/wildfly/standalone/log/server.log -Dlogging.configuration=file:/opt/wildfly/standalone/configuration/logging.properties -jar /opt/wildfly/jboss-modules.jar -mp /opt/wildfly/modules org.jboss.as.standalone -Djboss.home.dir=/opt/wildfly -Djboss.server.base.dir=/opt/wildfly/standalone -c standalone.xml -b 0.0.0.0}}
            Reporter: Tiago Matias
            Assignee: Jason Greene
            Priority: Minor


Using the wildfly-maven-plugin for remotely deploying a WAR file do Wildfly and, after a few deploys (between 5 and 10) An outofmemory error emerges, requiring a full server restart.

Full error log of maven.
{{
[INFO] Authenticating against security realm: ManagementRealm
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.630 s
[INFO] Finished at: 2017-02-02T15:38:04+00:00
[INFO] Final Memory: 22M/290M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Final:deploy (default) on project MyProject: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed and was rolled back
. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"backoffice.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"
backoffice.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"backoffice.war\"
[ERROR] Caused by: java.lang.OutOfMemoryError: Metaspace"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"MyProject.war\".POST_MODULE"],"WFLYCTL0180: Services with missing/una
vailable dependencies" => undefined}}}}}





--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list