How to clear Haneke memory cache effectively on iOS?

271 views Asked by At

Main memory cache is bloating as user requests more number of images. As user session progresses, main memory size increases which applies excess pressure on memory. This is causing out of memory exception.

1

There are 1 answers

1
amol ambhure On

You can clear your cache memory using following methods

Shared.dataCache.clearMainMemory()

Shared.imageCache.clearMainMemory()

Shared.JSONCache.clearMainMemory()

Shared.stringCache.clearMainMemory()