js memory leak

classic Classic list List threaded Threaded
3 messages Options
hcr
Reply | Threaded
Open this post in threaded view
|

js memory leak

hcr

Hi,
     I have a problem with orbeon. It will have memory leak in ie when I refresh a same page(http://www.orbeon.com/ops/forms/detail/DMV-14/A985C5600F2203B17557677B62B9F086).
     It will leak 2M memory in ie when refresh http://www.orbeon.com/ops/forms/detail/DMV-14/A985C5600F2203B17557677B62B9F086 page.
 
System:
   Microsoft Windows 2000
   5.00.2195
   Service Pack 4
computer:
   AMD Athlon(tm) XP 1800+
   At/At COMPATIBLE
   261,616 KB RAM
IE:
   version: 6.0.2800.1106
   SP1



网易邮箱,中国第一大电子邮件服务商


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: js memory leak

Alessandro Vernet
Administrator
2009/4/12 hechengrong <[hidden email]>:
>      I have a problem with orbeon. It will have memory leak in ie when I
> refresh a same
> page(http://www.orbeon.com/ops/forms/detail/DMV-14/A985C5600F2203B17557677B62B9F086).
>      It will leak 2M memory in ie when refresh
> http://www.orbeon.com/ops/forms/detail/DMV-14/A985C5600F2203B17557677B62B9F086 page.

Does that mean that if you reload the page enough times (adding 2 MB
at each reload), you get a out of memory error?

I am asking, because the VM using more memory is not necessarily a
sign of a leak, but rather a side effect of how Java memory management
works.

Also, if you see the memory used by the VM increase, it is a sign that
you didn't configure the VM with -Xms == -Xmx, as recommended here:

http://www.orbeon.com/ops/doc/integration-tuning#jvm-heap-ms-mx

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
hcr
Reply | Threaded
Open this post in threaded view
|

Re: Re: js memory leak

hcr
Thank you for response.
   It leak memory in client(IE), It is not in Orbeon Server. So I think that It isn't matter with configure the VM. I think that it's javascript problem.


在2009-04-14,"Alessandro Vernet" <[hidden email]> 写道:
>2009/4/12 hechengrong <[hidden email]>:
>>      I have a problem with orbeon. It will have memory leak in ie when I
>> refresh a same
>> page(http://www.orbeon.com/ops/forms/detail/DMV-14/A985C5600F2203B17557677B62B9F086).
>>      It will leak 2M memory in ie when refresh
>> http://www.orbeon.com/ops/forms/detail/DMV-14/A985C5600F2203B17557677B62B9F086 page.
>
>Does that mean that if you reload the page enough times (adding 2 MB
>at each reload), you get a out of memory error?
>
>I am asking, because the VM using more memory is not necessarily a
>sign of a leak, but rather a side effect of how Java memory management
>works.
>
>Also, if you see the memory used by the VM increase, it is a sign that
>you didn't configure the VM with -Xms == -Xmx, as recommended here:
>
>http://www.orbeon.com/ops/doc/integration-tuning#jvm-heap-ms-mx
>
>Alex
>-- 
>Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>Orbeon's Blog: http://www.orbeon.com/blog/
>Personal Blog: http://avernet.blogspot.com/
>Twitter - http://twitter.com/avernet



网易邮箱,中国第一大电子邮件服务商


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws