Skip to content

Commit d029e0b

Browse files
authored
fix(android): Define a max heap size for linux_android (#46 by @vabanagas)
1 parent 607b178 commit d029e0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/executors/linux_android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ parameters:
22
java_options:
33
description: Java command options. Note that setting this will override the default options so you might need to supply those as well.
44
type: string
5-
default: '-XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap'
5+
default: '-Xmx1024m -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap'
66
gradle_options:
77
description: Gradle command options. Note that setting this will override the default options so you might need to supply those as well.
88
type: string
9-
default: '-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError"'
9+
default: '-Xmx2014m -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError"'
1010
resource_class:
1111
description: Changes the resource class of the executor. Requires a support request to enable the resource_class parameter. See https://circleci.com/docs/2.0/configuration-reference/#resource_class
1212
type: string

0 commit comments

Comments
 (0)