[tests] decreased memory usage for travis