-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,all
I have used ZK framework for several weeks, and it is amazing solution to achieve my web application. All things go well, but after monitor the memory of ZK server, I find the memory of ZK server would be larger when new session is created. And even closing browser, the memory never decrease. So, may I implement DesktopClean or SessionClean to decrease memory ? Or other solution ?
Thank you very much !
books.zkoss.org/wiki/ZKDeveloper'sReference/Customization/InitandCleanup
refer to this link it will give you proper insights to your questions
Hello gds1987,
A very good example on how to handle the session can be found at the following url:
http://ben-bai.blogspot.com/2012/12/initcleanup-sessiondesktop-in-zk.html
You could also use JRockit in order to further optimize your application.
Best Regards,
Darksu
Thank you very much. I have read this post very carefully. I found the post is describing: prepare one big data for one session during its init, and destroy the big data during session destroy. I got it, but my question is how to release the memory which session creates during using the web service
gds1987 ( 2015-03-30 08:05:18 +0800 )editHello gds 1987,
In addition please refer to the following url in order to get some tips on Java Memory Management:
http://www.deepakgaikwad.net/index.php/2009/06/14/10-best-tips-to-conserve-memory-in-java-programs.html
Best Regards,
Daksu
Asked: 2015-03-26 09:40:44 +0800
Seen: 42 times
Last updated: Apr 06 '15