Topic
2 replies Latest Post - ‏2013-01-10T16:31:04Z by afarris7
afarris7
afarris7
61 Posts
ACCEPTED ANSWER

Pinned topic ie9 smart refresh dom/javascript memory leak

‏2013-01-07T04:04:52Z |
Hello,

I am trying to figure out why one of my wef 8 web apps uses so much memory in the browser (ie9). I have a large table that is being filtered and refreshed with smart refresh. It seems that the private memory increases by 300k to 400k each time. In my troubleshooting I created a test model to try to duplicate.

I have let this simple model run for 1.5 hours and the private memory keeps growing. The model has a timed action to go to page1 every 2 seconds.

The private memory for IE9 started at 63 megs. In 1.5 hours it has increased to 300 megs.
My current setup is Windows 7 64/IE 9. Perhaps this is the way IE9 works? It just seems strange that the memory would increase like this.

Any help on this would be great. Thank You.
Updated on 2013-01-10T16:31:04Z at 2013-01-10T16:31:04Z by afarris7
  • DGawron
    DGawron
    579 Posts
    ACCEPTED ANSWER

    Re: ie9 smart refresh dom/javascript memory leak

    ‏2013-01-08T23:01:18Z  in response to afarris7
    Possibly a leak or maybe just how IE handles memory in this case. If this model is a portlet and you click on another page what happens to memory? Usually IE will reclaim much of the memory that appears to be leaked. Historically IE has had a reputation for having memory leaks that were very easy to hit unless your JavaScript DOM manipulation code was written very carefully. Other browsers were/are more forgiving.
    • afarris7
      afarris7
      61 Posts
      ACCEPTED ANSWER

      Re: ie9 smart refresh dom/javascript memory leak

      ‏2013-01-10T16:31:04Z  in response to DGawron
      I haven't tried as a portlet, but as standalone if you do real refresh of the browser the memory comes back down. I opened a pmr to see if there is anything here.

      Thanks.