Mike wrote:
> The way reverse ajax polling is
> done for IE has been changed throughout the 2.0.x versions:
>
> 2.0 - 2.0.1: Iframe ("clicking sound")
> 2.0.2 RC1 - RC3: htmlfile
> 2.0.2 RC4 - 2.0.3: XHR
Ok, I've done some tests on the latest version for each poll
type. I've used the Reverse Ajax Clock example with Early
Closing Mode to work through polls at a high rate. This is what
I am getting for different versions and browsers (note that my
Safari 2 tests are not yet included in the results):
2.0.1 (IE iframe poll)
All browsers ok, except IE that doesn't seem to clean up the
iframes used for communication, although removed from DOM.
= memory leak for IE
2.0.2 RC3 (IE htmlfile poll)
IE leaks here too, but haven't done any extensive testing for
causes.
= memory leak for IE
2.0.3 (XHR poll for all)
All browsers ok.
Thus, with current version 2.0.3 I can not see any leaks in
reverse Ajax. From Thomas's bug report I can see he was using
2.0.2 RC3 at the time which correlates fine with my findings.
So, those of you that have had memory problems with reverse
Ajax, please re-test with 2.0.3.
The iframe mode is no longer used by default but may activate
in IE without ActiveX, so I will look into that problem before
closing the bug opened by Thomas.
This problem occurs on previously release versions of DWR as well. I have tested this on 2.0.1 with the same results.