From d4bb41bd40c188cfbe5cd0cb31daedcec6955d76 Mon Sep 17 00:00:00 2001 From: Milosz Wasilewski Date: Fri, 22 Apr 2016 12:30:42 +0100 Subject: android: Increase heap size for CTS host The default value for KVM devices in LAVA is ~250M of heap. This patch increases the value to 350M. KVMs are allocated only 512M of total memory, so it's the maximum safe value. Change-Id: Ib58f3913d80ec450820cd5c832245692752e7ebc Signed-off-by: Milosz Wasilewski --- android/cts-host.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/cts-host.yaml b/android/cts-host.yaml index ce412a3..ceae5c1 100644 --- a/android/cts-host.yaml +++ b/android/cts-host.yaml @@ -43,6 +43,8 @@ run: - echo $TEST_PARAMS - adb -s $IPADDR wait-for-device - adb devices + # increase the heap size. KVM devices in LAVA default to ~250M of heap + - export _JAVA_OPTIONS="-Xmx350M" - ./android/scripts/cts.py $CTS_URL $IPADDR $TEST_PARAMS - echo "processes running" - ps -- cgit v1.2.3