0

Memory usage of zul pages increase all the time?!

asked 2009-09-16 09:40:35 +0800

cryandaguo gravatar image cryandaguo
72 2

updated 2009-09-16 09:59:21 +0800

does anyone here use IE6.0 to access this zk forum? if does, does anyone notice that the memory usage for this zk forum is always increase and never goes down?
I am bothering with memory useage increasement issues in my zul pages.
I've made some tests base on reading Windows Task Manager
Memory_usage // first_access // endless_random_click_after_about_3 minutes // after_about_5 minutes
zk_Forum_pages(www.zkoss.org/forum/index.zul) // 41,332k // 107,331k // 134,271k
sourceForge_Pages(sourceforge.net/projects/zk1/forums/) // 32,173k // 41,937k // 42,933k
my_project // 68,213k // 332,133k // 453,319k

This is only happen on IE.
as the memroy usage increase all the time and never stops, I can not persuade my customer to try the powerful zk framework as they almost use IE.
is there anything I can do ?
any help will be fully thankful!

delete flag offensive retag edit

14 Replies

Sort by ยป oldest newest

answered 2009-09-23 15:23:41 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

It is a bug in the bug tracker, and we are now fixing the problem in ZK 3.6.3.

/Jumper

link publish delete flag offensive edit

answered 2011-02-18 14:34:30 +0800

niral gravatar image niral
3

I have experience the same problem with ZK 5 , still this problem persist or any thing wrong with my Application design , pl suggest !!

link publish delete flag offensive edit

answered 2011-02-20 19:23:27 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Please provide some example code to clarify the issue.

link publish delete flag offensive edit

answered 2011-02-23 03:59:28 +0800

kushsaraiya gravatar image kushsaraiya
9

m using tree and including zul on click of various link tested on ie 6,7,8 it increase memory size with the usage not a problem with mozila

link publish delete flag offensive edit

answered 2011-02-25 00:31:04 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

can you provide a runnable example?

link publish delete flag offensive edit

answered 2011-02-25 06:01:06 +0800

kushsaraiya gravatar image kushsaraiya
9

@jumper:
is there any issue in Zk and IE6
I have tried of zk 5 also with ie6 in our project
but memory usage of ie6 increase with passage of time.
First i though that can be our code problem but then i tested
http://www.zkoss.org/zkdemo/
With IE6 its memory usage also increase with even this site

so how it happened?
Please suggest me the solution
Project run well on the rest of the browser.

link publish delete flag offensive edit

answered 2011-03-01 22:11:55 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

@hushsaraiya,

If you cannot provide a runnable example, I don't know how to help you, because the memory issue in IE browser will happen in some pattern. Not only for ZK framework, but also happens on any Javascript framework.

link publish delete flag offensive edit

answered 2011-03-01 23:23:57 +0800

perfomance gravatar image perfomance
51

Hi i was facing the same problem but tested with 5.0.6 new release it really helps a lot.It has significant improvment with memory usage.If anybody is facing issue with memory consumption
try new release and you will fill the difference with all ie version starting from 6 also.
But with this version i am having a problem of having alert in pink
with Failed to mount object --'4.1' is null or not an object
This is random issue and does not come frequently and whenever i press redraw the page is loded succesfully.
Can anyone help in this issue.?
My concern is if mounting fails then it should come every time why it is coming randomly.
Please suggest me a solution
I am facing this issue with 5.0.6 with IE6,7,8,9 only.

link publish delete flag offensive edit

answered 2011-03-04 05:25:57 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

If you can provide a reproducible example, we can speed up to identify what the issue is.

link publish delete flag offensive edit

answered 2011-03-07 06:14:30 +0800

perfomance gravatar image perfomance
51

updated 2011-03-07 06:14:58 +0800

@jupmer:
thanks for the response, i hope the details provided below will help to trace the issue.

If i click continuously on link i am getting Failed to Mount alert in pink with description
Failed to mount: Unable to get value of the property 'offsetWidth': object is null or undefined


The error in console is as below
07-Mar-2011 17:38:22 org.zkoss.zk.au.http.AuDynaMediar service:141
SEVERE: Failed to load media, /view/z_pe9/tIBQu4/9st/1/css.css
>>javax.servlet.ServletException: interface org.zkoss.zk.ui.ext.render.DynamicMedia must be implemented by getExtraCtrl() of <Hbox tIBQu4>
>> at org.zkoss.zk.au.http.AuDynaMediar.service(AuDynaMediar.java:120)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:431)
>> at com.tcs.sgv.zk.controller.BaseDHtmlUpdateServlet.doGet(BaseDHtmlUpdateServlet.java:23)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
>>...
07-Mar-2011 17:38:22 org.zkoss.zk.au.http.AuDynaMediar service:141
SEVERE: Failed to load media, /view/z_pe9/tIBQ84/tor/1/css.css
>>javax.servlet.ServletException: interface org.zkoss.zk.ui.ext.render.DynamicMedia must be implemented by getExtraCtrl() of <Datebox dtPostEndDate>
>> at org.zkoss.zk.au.http.AuDynaMediar.service(AuDynaMediar.java:120)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:431)
>> at com.tcs.sgv.zk.controller.BaseDHtmlUpdateServlet.doGet(BaseDHtmlUpdateServlet.java:23)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
>>...
07-Mar-2011 17:38:22 org.zkoss.zk.au.http.AuDynaMediar service:141
SEVERE: Failed to load media, /view/z_pe9/tIBQw4/9f8/1/css.css
>>javax.servlet.ServletException: interface org.zkoss.zk.ui.ext.render.DynamicMedia must be implemented by getExtraCtrl() of <Hbox tIBQw4>
>> at org.zkoss.zk.au.http.AuDynaMediar.service(AuDynaMediar.java:120)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:431)
>> at com.tcs.sgv.zk.controller.BaseDHtmlUpdateServlet.doGet(BaseDHtmlUpdateServlet.java:23)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
>>...
07-Mar-2011 17:38:22 org.zkoss.zk.au.http.AuDynaMediar service:141
SEVERE: Failed to load media, /view/z_pe9/tIBQa4/kba1/1/css.css
>>javax.servlet.ServletException: interface org.zkoss.zk.ui.ext.render.DynamicMedia must be implemented by getExtraCtrl() of <Datebox dtPostEndDate>
>> at org.zkoss.zk.au.http.AuDynaMediar.service(AuDynaMediar.java:120)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:431)
>> at com.tcs.sgv.zk.controller.BaseDHtmlUpdateServlet.doGet(BaseDHtmlUpdateServlet.java:23)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
>> at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>> at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
>>...

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2009-09-16 09:40:35 +0800

Seen: 1,554 times

Last updated: Mar 19 '11

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