automatic clear the cache on OutOfMemoryError