1

Memory Leak ISSUE : "_desktop" variable of an org.zkoss.zk.ui.http.ExecutionImpl

asked 2014-01-13 18:45:22 +0800

HiralVadher gravatar image HiralVadher
10 2

updated 2014-01-15 04:28:49 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Server's CPU usage goes up ,sometime upto 100%. and this issue is intermittent & not easy to reproduce

Following is the finding on this issue. any idea on the root cause of this issue ?

<quote> The main concern in the heap dump is one single large instance of org.zkoss.zk.ui.impl.DesktopImpl retaining ~2.75 gb alone. That is referenced and retained through the "_desktop" variable of an org.zkoss.zk.ui.http.ExecutionImpl that is held as a thread local in an ajp request thread.

It may be that the application did not properly clean up this thread local after prior requests or that a single request is generating that much overhead in this object. Most of the retention in the DesktopImpl comes down to its UiVisualizer. </quote>

delete flag offensive retag edit

Comments

you ca post a bug here: http://tracker.zkoss.org/secure/Dashboard.jspa

jimmyshiau ( 2014-02-06 06:09:44 +0800 )edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
3 followers

RSS

Stats

Asked: 2014-01-13 18:45:22 +0800

Seen: 13 times

Last updated: Jan 22 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More