"Android Clang Builder (dbg)" builder keeps failing builds because of out of memory |
|||||
Issue descriptionAndroid Clang Builder (dbg) Looking at https://build.chromium.org/p/chromium.linux/builders/Android%20Clang%20Builder%20%28dbg%29?numbuilds=200, the last 200 builds have at least 6 compile failures because of memory exhaustion. Output contains strings like CalledProcessError: Command failed: ( cd /mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/media; ant -verbose -DHAS_CODE=true -DANDROID_SDK_ROOT=/mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/sdk/ -DANDROID_SDK_TOOLS=/mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/sdk//build-tools/23.0.1 -DRESOURCE_PACKAGED_APK_NAME=media_unittests-resources.ap_ -DNATIVE_LIBS_DIR=../out/Debug/media_unittests_apk/libs -DAPK_NAME=media_unittests -DCONFIGURATION_NAME=Debug -DOUT_DIR=../out/Debug/media_unittests_apk -DUNSIGNED_APK_PATH=../out/Debug/media_unittests_apk/media_unittests-unsigned.apk -DEMMA_INSTRUMENT=0 -DEMMA_DEVICE_JAR=/mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/sdk//tools/lib/emma_device.jar -Dbasedir=. -buildfile ../build/android/ant/apk-package.xml -DDEX_FILE_PATH=../out/Debug/media_unittests_apk/classes.dex ) OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000705200000, 175112192, 0) failed; error='Cannot allocate memory' (errno=12) # or /mnt/data/b/build/slave/Android_Clang_Builder__dbg_/build/src/third_party/android_tools/ndk//toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip:../out/Debug/lib/libwebcore_shared.cr.so: Memory exhausted This bot has 16GB memory. That seems like a lot already. Can the compiler flags be changed so that it uses less? Or can/should it get additional RAM?
,
Mar 21 2016
It looks a bit like this bot was converted from gyp to gn not too long ago; probably the setting got lost there.
,
Mar 21 2016
well, to mb, but yeah, that's probably what happened.
,
Mar 21 2016
Issue 596610 has been merged into this issue.
,
Mar 21 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a5a755d1ec910cc8adf5ea4a05211e4f0af7e788 commit a5a755d1ec910cc8adf5ea4a05211e4f0af7e788 Author: jbudorick <jbudorick@chromium.org> Date: Mon Mar 21 20:38:33 2016 [Android] Add minimal_symbols to remaining bots on chromium.{linux,android}. This includes: chromium.linux Android Clang Builder (dbg) Android GN (dbg) chromium.android Android GN Builder (dbg) BUG= 596545 Review URL: https://codereview.chromium.org/1817193002 Cr-Commit-Position: refs/heads/master@{#382375} [modify] https://crrev.com/a5a755d1ec910cc8adf5ea4a05211e4f0af7e788/tools/mb/mb_config.pyl
,
Apr 27 2016
,
Apr 27 2016
,
Jun 2 2016
I only see one purple failure in the last 200 builds, and it doesn't *explicitly* look like a memory failure (although the bot died in an unclean fashion). I think we can close this?
,
Jun 2 2016
that purple build was me restarting chromium.linux this morning. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by thakis@chromium.org
, Mar 21 2016