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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,421
Community Members
 
Community Events
184
Community Groups

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
AUG Leaders

Atlassian Community Events