0

ZK DesktopImpl leaking memory

asked 2015-02-20 02:28:26 +0800

JashandeepZK gravatar image JashandeepZK
9

Hi,

We are using ZK version 3.0.3. The problem is that we are running out of memory over a period of time and we suspect it's a memory leak. On analysis with the IBM Heap Analyzer we could see that there is an object DesktopImpl which keeps growing with time. It seems the SimpleWebApp does not drops the reference to DesktopImpl Object. We did set up the HTTPListener in the web.xml to try to time out the sessions so that DesktopImpls objects can be garbage collected but it's simply not working. It would be really grateful if somebody can throw some light on this or at least point us in the right direction.

delete flag offensive retag edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-02-21 18:04:34 +0800

Darksu gravatar image Darksu
1991 1 4

Hello JashandeepZK,

As with all software, new versions usually add new functionality, and improved performance. So i agree with terrytornado that upgrading it would be a very good idea.

Additionally you should also consider evaluating you java version, as well as your application server's version and configuration.

Finally please look into the following url, which gives some very good insights on ZK Desktops, and Sessions.

http://ben-bai.blogspot.gr/2012/12/initcleanup-sessiondesktop-in-zk.html

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2015-02-21 03:07:54 +0800

JashandeepZK gravatar image JashandeepZK
9

Hi,

Thanks for your reply. The issue is that we won't be able to upgrade this version as it has been running in production all along unless a major software upgrade project happens. As of now we will have to be content with this version. Do you suggest that this has been a problem with the older versions of ZK and has been fixed in the latest releases?

link publish delete flag offensive edit
0

answered 2015-02-20 11:38:15 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

That's a very old version. Can you update it.

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2015-02-20 02:28:26 +0800

Seen: 12 times

Last updated: Feb 21 '15

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