CircleCI: Error unmarshaling return header; nested exception is:
This configuration got rid of the issue:
Changing from JVM_OPTS: -Xmx3200m
to JVM_OPTS: -Xmx2048m
was important
version: 2
executors:
my-executor:
docker:
- image: circleci/android:api-28-node
working_directory: ~/code
environment:
JVM_OPTS: -Xmx2048m
GRADLE_OPTS: -Xmx1536m -XX:+HeapDumpOnOutOfMemoryError -Dorg.gradle.caching=true -Dorg.gradle.configureondemand=true -Dkotlin.compiler.execution.strategy=in-process -Dkotlin.incremental=false