Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Gradle build is failing : SLF4J: Class path contains multiple SLF4J bindings, Cannot allocate memory

Hello, 

I'm trying create Artifact using Gralde. But the job in bamboo server is failing and connot allocate memory error:12. As of now we have 10 bamboo servers and all of them are with 8GIGS RAM. While running the job one of the bamboo servers and we cannot assign to a particular one. Any help would be highly appreciated.

> Task :modules:configuration:genXmlSources
error	08-Apr-2020 22:52:06	SLF4J: Class path contains multiple SLF4J bindings.
error	08-Apr-2020 22:52:06	SLF4J: Found binding in [jar:file:/opt/bamboo-agent-home/xml-data/build-dir/GUID-GVCC-VAR/ClaimCenter1003/repository/org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
error	08-Apr-2020 22:52:06	SLF4J: Found binding in [jar:file:/opt/bamboo-agent-home/xml-data/build-dir/GUID-GVCC-VAR/ClaimCenter1003/gradle/cache/wrapper/dists/gradle/cib4om3a5q6r18esvcmj181kn/gradle-5.1.1/lib/gradle-logging-5.1.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
error	08-Apr-2020 22:52:06	SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
error	08-Apr-2020 22:52:06	SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
build	08-Apr-2020 22:52:16	
build	08-Apr-2020 22:52:16	> Task :modules:configuration:copyGosuResources
build	08-Apr-2020 22:52:17	> Task :modules:configuration:generatePomFileForMavenJavaPublication
build	08-Apr-2020 22:52:17	> Task :modules:configuration:syncWebapp NO-SOURCE
build	08-Apr-2020 22:52:48	
build	08-Apr-2020 22:52:48	> Task :modules:configuration:genXmlSources
build	08-Apr-2020 22:52:48	Saved 23662 files, runtime is 2.221
build	08-Apr-2020 22:52:48	Saved 0 files, runtime is 0.212
build	08-Apr-2020 22:53:38	
build	08-Apr-2020 22:53:38	> Task :modules:configuration:compileJava
error	08-Apr-2020 22:53:47	Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000003c0000000, 2863661056, 0) failed; error='Cannot allocate memory' (errno=12)
build	08-Apr-2020 22:53:47	#
build	08-Apr-2020 22:53:47	# There is insufficient memory for the Java Runtime Environment to continue.
build	08-Apr-2020 22:53:47	# Native memory allocation (mmap) failed to map 2863661056 bytes for committing reserved memory.
build	08-Apr-2020 22:53:47	# An error report file with more information is saved as:
build	08-Apr-2020 22:53:47	# /opt/bamboo-agent-home/xml-data/build-dir/GUID-GVCC-VAR/ClaimCenter1003/modules/configuration/hs_err_pid16849.log
build	08-Apr-2020 22:53:47	
build	08-Apr-2020 22:53:47	> Task :modules:configuration:compileJava FAILED
error	08-Apr-2020 22:53:47	
error	08-Apr-2020 22:53:47	FAILURE: Build failed with an exception.
error	08-Apr-2020 22:53:47	
error	08-Apr-2020 22:53:47	* What went wrong:
error	08-Apr-2020 22:53:47	Execution failed for task ':modules:configuration:compileJava'.
error	08-Apr-2020 22:53:47	> Compilation failed with exit code 1; see the compiler error output for details.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

477 views 5 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you