Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4054

Memory leakage in browser with AbstractAjaxTimerBehavior

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1
    • Component/s: wicket
    • Labels:
      None

      Description

      Adding an AbstractAjaxTimerBehavior to a page causes the browser (tested on Firefox and Chrome) to leak memory. More noticeable with a short update interval (I have been using 1 second). It is not as bad in the beginning, but gradually gets worse, eventually increasing memory usage by over 1MB per request.

        Activity

        Hide
        ebergner Emil Bergner added a comment -

        Hi Pedro, it's gone! That was quick! Thanks a lot.

        Show
        ebergner Emil Bergner added a comment - Hi Pedro, it's gone! That was quick! Thanks a lot.
        Hide
        pedrosans Pedro Santos added a comment -

        Hi Emil, thanks for report the bug. I was able to simulate and fix it only at the trunk, not at 1.5.0 that is the promoted RC7. Can you test your app with the trunk and confirm that the memory leakage is gone?

        Show
        pedrosans Pedro Santos added a comment - Hi Emil, thanks for report the bug. I was able to simulate and fix it only at the trunk, not at 1.5.0 that is the promoted RC7. Can you test your app with the trunk and confirm that the memory leakage is gone?
        Hide
        ebergner Emil Bergner added a comment -

        Note sure if this is relevant:
        http://pavel.kuzub.com/settimeout-memory-leak

        Show
        ebergner Emil Bergner added a comment - Note sure if this is relevant: http://pavel.kuzub.com/settimeout-memory-leak

          People

          • Assignee:
            pedrosans Pedro Santos
            Reporter:
            ebergner Emil Bergner
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development