Hi,
maybe there is some gc problem with closures in IE9 document mode.
Simple test page leaks memory in IE9 mode even if first suspect
Wicket.replaceOuterHtmlIE
is commented out. Test with plain XMLHttpRequest does not leak memory in any
case.
This Wicket Ajax example also slowly grows if IE9 document mode is set manually
but is not
seemingly leaking in IE8 mode
http://www.wicket-library.com/wicket-examples/ajax/world-clock
-----Original Message-----
From: Martin Grigorov [mailto:[email protected]]
Sent: 4. huhtikuuta 2012 9:19
To: [email protected]
Subject: Re: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)
Hi,
Can you share your findings ?
What exactly you think caused the memory leak and how exactly did you solve it
with jQuery ?
On Wed, Apr 4, 2012 at 8:14 AM, Heikki Uotinen <[email protected]>
wrote:
> Ok, this leak can be avoided by updating rapidly changing components
> with jQuery before upgrading to Wicket 6,
>
> -Heikki
>
> -----Original Message-----
> From: Heikki Uotinen [mailto:[email protected]]
> Sent: 3. huhtikuuta 2012 16:17
> To: [email protected]
> Subject: IE9 Memory leak when updating component with Ajax (Wicket
> 1.5.5)
>
> Hi,
>
> it seems that IE9 leaks memory heavily when updating components with Ajax in
> IE9 document mode.
>
> There is no leak after setting document to IE8 mode
>
> <meta http-equiv="X-UA-Compatible" content="IE=8"/>
>
> Any ideas to resolve this without forcing IE8 mode ?
>
> There have been past issues, but found no current issue related to this,
> quick start code is very simple, Opera, Firefox, Chrome work fine.
>
>
> public HomePage(final PageParameters parameters)
> {
> Label testDiv = new Label("testDiv", new
> PropertyModel(this, "data"));
> testDiv.setOutputMarkupId(true);
> add(testDiv);
>
> AjaxSelfUpdatingTimerBehavior timer = new
> AjaxSelfUpdatingTimerBehavior(Duration.milliseconds(200));
> testDiv.add(timer);
> }
>
> public String getData()
> {
> Date now = new Date();
> return now.toString();
> }
>
> <html>
> <head>
> <!-- No leak if this is set
> <meta http-equiv="X-UA-Compatible"
> content="IE=8"/>
> -->
> </head>
> <body>
> <div wicket:id="testDiv"></div>
> </body>
> </html>
>
> -Heikki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]