Problem with ZK CacheMap
my application saves a Map , this some times made JavaHeapSpace
Error.
i used org.zkoss.util.CacheMap
inst开发者_如何学JAVAead it's JDoc
but i am not sure if it solves the problem or not?
ZK CacheMap will remove old entities once GC starts (i.e., the memory running low), so it shall help. But, make sure it is OK the removal of old entities is what you want.
精彩评论