[jboss-jira] [JBoss JIRA] Created: (JBAS-8607) AS7 build causes PermGen error

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Nov 5 07:04:01 EDT 2010


AS7 build causes PermGen error
------------------------------

                 Key: JBAS-8607
                 URL: https://jira.jboss.org/browse/JBAS-8607
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Build System
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler
             Fix For: 7.0.0.Alpha2


On my EC2 Hudson instance I frequently see errors like this

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2:single (assemble) on project jboss-as-build: Execution assemble of goal org.apache.maven.plugins:maven-assembly-plugin:2.2:single failed: Unable to load the mojo 'single' (or one of its required components) from the plugin 'org.apache.maven.plugins:maven-assembly-plugin:2.2': com.google.inject.ProvisionException: Guice provision errors:
[ERROR] 
...
[ERROR] 
[ERROR] 1 error: com.google.inject.internal.util.ComputationException: java.lang.OutOfMemoryError: PermGen space

This is running on a 'small' instance with 1.7G Ram. Setting the global MAVEN_OPTS to something like: -Xmx512m -XX:MaxPermSize=512m
does not help

I propose to put the distro assembly in a mvn profile

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list