fix travis OOME by adding memory related java env options