ICEfaces
  1. ICEfaces
  2. ICE-5942

Memory Leak with EE 1.8.2 P01, IE6, and window.open()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P01
    • Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      IE 6

      Description

      Here are the steps required to reproduce the issue and subsequent increases in memory:
       
      1. open http://localhost:8080/auctionMonitor/
      Task Manager (IExplore.exe): Memory Usage ~ 43000 k

      2. Click on "Application Link"
      Task Manager (IExplore.exe): Memory Usage ~ 52500 k

      3. Close Popup Window
      Task Manager (IExplore.exe): Memory Usage ~ 47300 k

      4. Click on "Application Link"
      Task Manager (IExplore.exe): Memory Usage ~ 54000 k

      5. Close Popup Window
      Task Manager (IExplore.exe): Memory Usage ~ 49200 k

      Repeating the last two steps over and over again leads to a steady increase in memory with all browsers. When the browser window is closed, all process memory is released.

      Attached is a modified AuctionMonitor.jspx containing the following code to open the new window popup:

      <ice:commandLink window.open('index.jsp','secondAppWindow','status=no,resizable=no,scrollbars=no,toolbar=no,menubar=no,top=0,left=0,width=1024,height=738');">


      1. auctionMonitor.jspx
        21 kB
        Tyler Johnson
      2. ICE-5942_take2.patch
        5 kB
        Mircea Toma
      1. ie_citrix.PNG
        211 kB
      2. JS_memory_error.png
        9 kB
      3. task_manager.png
        19 kB

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22350 Wed Sep 15 11:34:40 MDT 2010 mircea.toma ICE-5942 Changed anonymous functions that are passed into setInterval() native function to named functions to avoid memory leak.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/connection.async.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22349 Wed Sep 15 11:32:48 MDT 2010 mircea.toma ICE-5942 Remove all 'window' object properties on document unload to avoid memory leaks in IE.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/window.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/synchronizer.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/lib/logger.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/application.js
        Commit graph MODIFY /icefaces/trunk/icefaces/bridge/src/focus.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Tyler Johnson
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: