On 20/03/16 11:10, Ben Caradoc-Davies wrote:
> I will try a build with -X and see if I can spot the culprit.

Concurrent git-commit-id-plugin looks like the culprit. Local tests 
suggest upgrading from 2.0.4 to 2.2.0 (with major jgit dependency 
version upgrade) fixes the problem.

Kind regards,
Ben.


[INFO] --- git-commit-id-plugin:2.0.4:revision (default) @ gs-jdbcstore ---
[DEBUG] Configuring mojo 
pl.project13.maven:git-commit-id-plugin:2.0.4:revision from plugin realm 
ClassRealm[plugin>pl.project13.maven:git-commit-id-plugin:2.0.4, parent: 
sun.misc.Launcher$AppClassLoader@74a14482]
[DEBUG] Configuring mojo 
'pl.project13.maven:git-commit-id-plugin:2.0.4:revision' with basic 
configurator -->
[DEBUG]   (s) dateFormat = dd.MM.yyyy '@' HH:mm:ss z
[ERROR] GC overhead limit exceeded -> [Help 1]
java.lang.OutOfMemoryError: GC overhead limit exceeded
        at 
org.eclipse.jgit.storage.file.PackIndexV2.<init>(PackIndexV2.java:130)
        at org.eclipse.jgit.storage.file.PackIndex.read(PackIndex.java:137)
        at org.eclipse.jgit.storage.file.PackIndex.open(PackIndex.java:96)
        at org.eclipse.jgit.storage.file.PackFile.idx(PackFile.java:159)
        at org.eclipse.jgit.storage.file.PackFile.get(PackFile.java:226)
        at 
org.eclipse.jgit.storage.file.ObjectDirectory.openObject1(ObjectDirectory.java:439)
        at 
org.eclipse.jgit.storage.file.FileObjectDatabase.openObjectImpl1(FileObjectDatabase.java:183)
        at 
org.eclipse.jgit.storage.file.FileObjectDatabase.openObject(FileObjectDatabase.java:157)
        at 
org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:122)
        at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:228)
        at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:811)
        at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:724)
        at 
pl.project13.maven.git.GitCommitIdMojo.loadGitData(GitCommitIdMojo.java:284)
        at 
pl.project13.maven.git.GitCommitIdMojo.execute(GitCommitIdMojo.java:170)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:197)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[ERROR] java.lang.OutOfMemoryError: GC overhead limit exceeded
java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC 
overhead limit exceeded
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:192)
        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder.multiThreadedProjectTaskSegmentBuild(MultiThreadedBuilder.java:130)
        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder.build(MultiThreadedBuilder.java:91)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        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:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        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)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
        at 
org.eclipse.jgit.storage.file.PackIndexV2.<init>(PackIndexV2.java:130)
        at org.eclipse.jgit.storage.file.PackIndex.read(PackIndex.java:137)
        at org.eclipse.jgit.storage.file.PackIndex.open(PackIndex.java:96)
        at org.eclipse.jgit.storage.file.PackFile.idx(PackFile.java:159)
        at org.eclipse.jgit.storage.file.PackFile.get(PackFile.java:226)
        at 
org.eclipse.jgit.storage.file.ObjectDirectory.openObject1(ObjectDirectory.java:439)
        at 
org.eclipse.jgit.storage.file.FileObjectDatabase.openObjectImpl1(FileObjectDatabase.java:183)
        at 
org.eclipse.jgit.storage.file.FileObjectDatabase.openObject(FileObjectDatabase.java:157)
        at 
org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:122)
        at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:228)
        at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:811)
        at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:724)
        at 
pl.project13.maven.git.GitCommitIdMojo.loadGitData(GitCommitIdMojo.java:284)
        at 
pl.project13.maven.git.GitCommitIdMojo.execute(GitCommitIdMojo.java:170)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:197)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:185)
        at 
org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:181)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[DEBUG]   (s) dotGitDirectory = /home/ben/geoserver/src with 
spaces/geoserver/src/community/jdbcstore/.git
[ERROR]
[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
[DEBUG]   (f) failOnNoGitDirectory = false
[DEBUG]   (f) generateGitPropertiesFile = false
[DEBUG]   (f) generateGitPropertiesFilename = 
src/main/resources/git.properties
[DEBUG]   (s) prefix = build
[DEBUG]   (f) project = MavenProject: 
org.geoserver.community:gs-jdbcstore:2.9-SNAPSHOT @ 
/home/ben/geoserver/src with 
spaces/geoserver/src/community/jdbcstore/pom.xml
[DEBUG]   (f) skipPoms = false
[DEBUG]   (s) verbose = false
[DEBUG] -- end configuration --
[INFO] [GitCommitIdMojo] Running on '/home/ben/geoserver/src with 
spaces/geoserver/.git' repository...
[INFO] [GitCommitIdMojo] Initializing properties...
[INFO] [GitCommitIdMojo] Using maven project properties...
[INFO] [GitCommitIdMojo] Loading data from git repository...
[INFO] [GitCommitIdMojo] ------------------git properties 
loaded------------------
[INFO] [GitCommitIdMojo] build.commit.message.short = [GEOS-7444] Handle 
unmarshalling of GridGeometry2D objects when the JSON/XML definition 
follows an arbitrary order
[INFO] [GitCommitIdMojo] build.build.user.email = [email protected]
[INFO] [GitCommitIdMojo] build.hudsonId = -1
[INFO] [GitCommitIdMojo] build.commit.time = 20.03.2016 @ 03:21:31 NZDT
[INFO] [GitCommitIdMojo] build.timestamp = 19-Mar-2016 22:10
[INFO] [GitCommitIdMojo] build.build.time = 20.03.2016 @ 11:15:52 NZDT
[INFO] [GitCommitIdMojo] build.branch = master
[INFO] [GitCommitIdMojo] build.commit.user.email = [email protected]
[INFO] [GitCommitIdMojo] build.build.user.name = Ben Caradoc-Davies
[INFO] [GitCommitIdMojo] build.commit.user.name = dispiste
[INFO] [GitCommitIdMojo] build.commit.id.abbrev = 8f02d32
[INFO] [GitCommitIdMojo] build.commit.id = 
8f02d3218a535183a1cfee59dbda37457a8541d9
[INFO] [GitCommitIdMojo] build.commit.message.full = [GEOS-7444] Handle 
unmarshalling of GridGeometry2D objects when the JSON/XML definition 
follows an arbitrary order

[INFO] [GitCommitIdMojo] 
---------------------------------------------------------
[INFO] [GitCommitIdMojo] Finished running.
[INFO]
[INFO] <<< maven-source-plugin:2.2.1:test-jar (attach-sources) < 
generate-sources @ gs-jdbcstore <<<
[INFO]
[INFO] --- maven-source-plugin:2.2.1:test-jar (attach-sources) @ 
gs-jdbcstore ---
[DEBUG] Configuring mojo 
org.apache.maven.plugins:maven-source-plugin:2.2.1:test-jar from plugin 
realm 
ClassRealm[plugin>org.apache.maven.plugins:maven-source-plugin:2.2.1, 
parent: sun.misc.Launcher$AppClassLoader@74a14482]
Destroying 2 processes
Destroying process..
Destroying process..
Destroyed 2 processes


-- 
Ben Caradoc-Davies <[email protected]>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to