with map having error of memory when loading a image