trying to fix OutOfMemory error on Travis' build