grid_search mmap