maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff MAURY <jeffma...@jeffmaury.com>
Subject Re: Java heap space error
Date Thu, 27 Aug 2015 20:05:23 GMT
Change MAVEN_OPTS accordingly

Jeff
Le 27 août 2015 21:28, <Michael.CTR.Tarullo@faa.gov> a écrit :

> When running Maven to build a COTS product I am getting the following
> exception thrown:
>
> Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
> 11:22:22-0400)
> Maven home: C:\Apache\apache-maven-3.1.1\bin\..
> Java version: 1.7.0_85, vendor: Oracle Corporation
> Java home: C:\Dev\Java\jdk1.7.0_85\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> [INFO] Error stacktraces are turned on.
> [DEBUG] Reading global settings from
> C:\Apache\apache-maven-3.1.1\bin\..\conf\settings.xml
> [DEBUG] Reading user settings from C:\Users\Michael CTR
> Tarullo.FAA\.m2\settings.xml
> [DEBUG] Using local repository at C:\Users\Michael CTR
> Tarullo.FAA\.m2\fuse-offline-repository-620133
> [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0
> for C:\Users\Michael CTR Tarullo.FAA\.m2\fuse-offline-repository-620133
> [INFO] Scanning for projects...
> [ERROR] Java heap space -> [Help 1]
> java.lang.OutOfMemoryError: Java heap space
>                 at java.util.HashMap.inflateTable(HashMap.java:316)
>                 at java.util.HashMap.put(HashMap.java:488)
>                 at
> org.apache.maven.model.ConfigurationContainer.setLocation(ConfigurationContainer.java:230)
>                 at
> org.apache.maven.model.inheritance.DefaultInheritanceAssembler$InheritanceModelMerger.mergePluginContainer_Plugins(DefaultInheritanceAssembler.java:147)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergePluginContainer(ModelMerger.java:2470)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergePluginManagement(ModelMerger.java:2504)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergePluginConfiguration_PluginManagement(ModelMerger.java:2463)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergePluginConfiguration(ModelMerger.java:2448)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergeBuildBase(ModelMerger.java:2323)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergeBuild(ModelMerger.java:2163)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergeModel_Build(ModelMerger.java:494)
>                 at
> org.apache.maven.model.merge.ModelMerger.mergeModel(ModelMerger.java:146)
>                 at
> org.apache.maven.model.merge.MavenModelMerger.mergeModel(MavenModelMerger.java:79)
>                 at
> org.apache.maven.model.merge.ModelMerger.merge(ModelMerger.java:120)
>                 at
> org.apache.maven.model.inheritance.DefaultInheritanceAssembler.assembleModelInheritance(DefaultInheritanceAssembler.java:56)
>                 at
> org.apache.maven.model.building.DefaultModelBuilder.assembleInheritance(DefaultModelBuilder.java:636)
>                 at
> org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:330)
>                 at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:411)
>                 at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:380)
>                 at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:496)
>                 at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:380)
>                 at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:496)
>                 at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:380)
>                 at
> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:344)
>                 at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:637)
>                 at
> org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:586)
>                 at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:229)
>                 at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
>                 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
>                 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
>                 at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>
> Michael Tarullo
> Contractor (Engility Corp)
> Enterprise Architect
> NSRR System Administrator
> FAA WJH Technical Center
> (609)485-5294
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message