CircleCI allow to run more tests than Travis without failures. But there are two more groups that are excluded in the Drill CI build. That tests cause different memory failures depending on the Heap, Direct memory limits and the remaining memory for OS.
RAM value for the Machine Executor Type is 8GB (Docker Executor Type provide even less -only 4GB of RAM).
Not sure whether increasing of RAM is possible, but from CircleCI docs:
Contact us at email@example.com for access. If you are building a bigger open-source project and need more resources, let us know how we can help you!
The example of builds with these failures (#80-85 builds):
mvn install -Drat.skip=false -Dlicense.skip=false -DexcludedGroups="org.apache.drill.categories.SlowTest,org.apache.drill.categories.UnlikelyTest"
mvn install -Drat.skip=false -Dlicense.skip=false -DexcludedGroups="org.apache.drill.categories.SlowTest"
see more: https://circleci.com/docs/2.0/java-oom/#debugging-java-oom-errors
see TODO: 4 . in config.yml