Wrong size of the session attribute is shown when using ZK library
Brought to you by:
cedrik_lime
When using ZK library in our application and using the MessAdmin to check the session consumption, found out the attribute "javax.zkoss.zk.ui.Session" for each single session use hundreds of MB (~180MB).
After using the some 3rd party memory profiler to check the memory consumption, found out that the org.zkoss.zk.ui.http.SimpleSession only use 240 bytes.
Further on the investigation,