Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.1
-
Component/s: Bridge, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2.0, panelPopup w/ modal=true, IE8.
-
ICEsoft Forum Reference:
Description
Viewing a modal panelPopup in IE8 browser seems to consume a large amount of client-side memory (in the IE8 process) that is not subsequently released until the page is reloaded or navigated away from.
To reproduce, run the compat component showcase, monitor the IE8 browser process memory consumption, then open and close the modal panelPopup repeatedly. Note that each toggling of making the popup visible and hiding it consumes approx 5-6 MB of client-side memory.
The consumed memory doesn't seem to be recovered by IE8 until the page is navigated away from or reloaded. I tested it up to 225MB used on a 512MB system so this looks like a real issue.
Likely related to the way that the UI blocker has to dynamically deregister and re-register the event listeners on elements behind the popup blocker.
To reproduce, run the compat component showcase, monitor the IE8 browser process memory consumption, then open and close the modal panelPopup repeatedly. Note that each toggling of making the popup visible and hiding it consumes approx 5-6 MB of client-side memory.
The consumed memory doesn't seem to be recovered by IE8 until the page is navigated away from or reloaded. I tested it up to 225MB used on a 512MB system so this looks like a real issue.
Likely related to the way that the UI blocker has to dynamically deregister and re-register the event listeners on elements behind the popup blocker.
Testing on IE7 shows the same memory consumption while viewing modal popups, but that memory is recovered when the browser window is minimized, indicating that it is not an actual leak, but normal browser memory use that is available for reclamation by the browser when needed.
However, my testing on IE8 did not show the memory being recovered until the page was reloaded (or closed).