I’m trying to convert my Android project from Circle CI v1 to v2.
My v1 configuration can be found here:
My v1 configuration is here: https://github.com/AnySoftKeyboard/AnySoftKeyboard/blob/1.8-r9/circle.yml
I don’t have any major issues with it - it works well. But slow.
My v2 migration PR is here: https://github.com/AnySoftKeyboard/AnySoftKeyboard/pull/936
I tried to make it as close as possible to the previous configuration, and then improve on it with V2 stuff.
But, to my problem, right now the Gradle executor is dying during the test phase with error
org.gradle.process.internal.ExecException: Process 'Gradle Test Executor 1' finished with non-zero exit value 137 (for example, this run https://circleci.com/gh/AnySoftKeyboard/AnySoftKeyboard/313).
From what I understand, this is a out-of-memory problem. I know that Docker will kill processes that exceed the memory quota. So, I tried to limit Gradle to use much less memory (512MB) than I, successfully, used in my v1 configuration (1600MB). That didn’t work either. so, I might be wrong about my out-of-memory guess.
Any leads here?