trying to resolve "java.lang.OutOfMemoryError: unable to create new native thread" in Travis