Improve memoty to prevent OutOfMemory on travis and start use env