try to fix OutOfMemory error on Travis CI