Я пытаюсь создать Артефакт с помощью Gralde. Но работа на бамбуковом сервере терпит неудачу и не может выделить ошибку памяти: 12. На данный момент у нас есть 10 бамбуковых серверов, и все они с 8GIGS RAM. Во время выполнения задания один из бамбуковых серверов и мы не можем назначить конкретному. Любая помощь будет принята с благодарностью.
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.