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.
Asked
Active
Viewed 267 times
1
-
By ```Main memory cache``` do you mean ```in memory cache``` ? – danypata Jan 04 '17 at 11:02
-
@danypata : Yes, you got that right – Vinay Bagale Jan 04 '17 at 11:25
1 Answers
1
You can clear your cache memory using following methods
Shared.dataCache.clearMainMemory()
Shared.imageCache.clearMainMemory()
Shared.JSONCache.clearMainMemory()
Shared.stringCache.clearMainMemory()

amol ambhure
- 45
- 6
-
What version did this apply to? In current Haneke I see no such method/function private or public. – Martin Westin Oct 25 '19 at 09:00