Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序保存了一个 Map ,这有时会JavaHeapSpace 出错。我用org.zkoss.util.CacheMap的是 JDoc
JavaHeapSpace
org.zkoss.util.CacheMap
但我不确定它是否解决了问题?
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.