delete cache file when getting NegativeArrayIndexException and OutOfMemoryError