Server : Aws linux instance with m3.large with 7.5 GB
Error Log:
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000747660000, 2023358464, 0) failed; error='Cannot allocate memory' (errno=12)
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2023358464 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /media/build_server/software/bamboo/Bamboo/xml-data/build-dir/GT-AMITESTDEVCI-S2JOB1/hs_err_pid32425.log
Failing task since return code of [/media/build_server/software/maven/apache-maven-3.2.5/bin/mvn --batch-mode -Djava.io.tmpdir=/media/build_server/software/bamboo/atlassian-bamboo-6.0.3/temp/GT-AMITESTDEVCI-S2JOB1 clean install -Dgit.branch=0.3.651 -Denv=amitest] was 1 while expected 0
Parsing test results under /media/build_server/software/bamboo/Bamboo/xml-data/build-dir/GT-AMITESTDEVCI-S2JOB1...
Finished task 'Build code' with result: Failed
Community moderators have prevented the ability to post new answers.
Looks like there's not enough available memory on the build server for Maven to allocate 2GB for it's JVM.
Here's a few options:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.