Shindig
  1. Shindig
  2. SHINDIG-1499

Memory leak in IE7 when doing adjustHeight() in response of a makeRequest()

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-RC2
    • Fix Version/s: None
    • Component/s: Javascript
    • Labels:
    1. gadget.xml
      0.8 kB
      Koen De Jaeger

      Activity

      Koen De Jaeger created issue -
      Hide
      Koen De Jaeger added a comment -

      With this gadget, I am able to reproduce a 10MB increase after each page refresh in internet exploder 7.

      The way I tested it was to use the Liferay OpenSocial portlet.

      Can anyone reproduce this in Shindig?

      Show
      Koen De Jaeger added a comment - With this gadget, I am able to reproduce a 10MB increase after each page refresh in internet exploder 7. The way I tested it was to use the Liferay OpenSocial portlet. Can anyone reproduce this in Shindig?
      Koen De Jaeger made changes -
      Field Original Value New Value
      Attachment gadget.xml [ 12470129 ]
      Hide
      Koen De Jaeger added a comment -

      Someone at Liferay is also looking into this issue : http://issues.liferay.com/browse/LPS-15125

      Show
      Koen De Jaeger added a comment - Someone at Liferay is also looking into this issue : http://issues.liferay.com/browse/LPS-15125
      Gavin made changes -
      Workflow jira [ 12544458 ] patch-available, re-open possible [ 12628618 ]
      Hide
      Dennis Ju added a comment -

      I was looking into this on the Liferay side and found that the issue is ultimately with Shindig. Any gadget calling makeRequest(), regardless of whether adjustHeight() is called will leak ~10 mb per call in your test gadget. I used sieve to detect memory usage on IE on the default Shindig 2.0 implementation on Tomcat and saw the same memory loss.

      IE is known for poor memory management to begin with, and I didn't have any success tracking down the issue on the Shindig side.

      Show
      Dennis Ju added a comment - I was looking into this on the Liferay side and found that the issue is ultimately with Shindig. Any gadget calling makeRequest(), regardless of whether adjustHeight() is called will leak ~10 mb per call in your test gadget. I used sieve to detect memory usage on IE on the default Shindig 2.0 implementation on Tomcat and saw the same memory loss. IE is known for poor memory management to begin with, and I didn't have any success tracking down the issue on the Shindig side.

        People

        • Assignee:
          Unassigned
          Reporter:
          Koen De Jaeger
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:

            Development