[ https://issues.apache.org/jira/browse/ATLAS-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402310#comment-15402310 ]
Shwetha G S commented on ATLAS-1074: ------------------------------------ Try with export MAVEN_OPTS="-Xmx1536m -XX:MaxPermSize=512m" && mvn command. Its documented at http://atlas.incubator.apache.org/InstallationSteps.html > Build break > ----------- > > Key: ATLAS-1074 > URL: https://issues.apache.org/jira/browse/ATLAS-1074 > Project: Atlas > Issue Type: Bug > Reporter: David Radley > > I clones the latest atlas code and then run > mvn -e clean package -Pdist > It fails with > us-0.3.2.jar > constituent[31]: > file:/Applications/apache-maven-3.3.9/lib/plexus-cipher-1.7.jar > constituent[32]: > file:/Applications/apache-maven-3.3.9/lib/plexus-component-annotations-1.6.jar > constituent[33]: > file:/Applications/apache-maven-3.3.9/lib/plexus-interpolation-1.21.jar > constituent[34]: > file:/Applications/apache-maven-3.3.9/lib/plexus-sec-dispatcher-1.3.jar > constituent[35]: > file:/Applications/apache-maven-3.3.9/lib/plexus-utils-3.0.22.jar > constituent[36]: file:/Applications/apache-maven-3.3.9/lib/slf4j-api-1.7.5.jar > constituent[37]: > file:/Applications/apache-maven-3.3.9/lib/slf4j-simple-1.7.5.jar > constituent[38]: file:/Applications/apache-maven-3.3.9/lib/wagon-file-2.10.jar > constituent[39]: > file:/Applications/apache-maven-3.3.9/lib/wagon-http-2.10-shaded.jar > constituent[40]: > file:/Applications/apache-maven-3.3.9/lib/wagon-http-shared-2.10.jar > constituent[41]: > file:/Applications/apache-maven-3.3.9/lib/wagon-provider-api-2.10.jar > constituent[42]: file:/Applications/apache-maven-3.3.9/conf/logging/ > --------------------------------------------------- > Exception in thread "main" java.lang.OutOfMemoryError: PermGen space > at > java.util.concurrent.CopyOnWriteArrayList.iterator(CopyOnWriteArrayList.java:959) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:877) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) -- This message was sent by Atlassian JIRA (v6.3.4#6332)