Severe Memory Leak in rad 2012 .2 & .3 releases

4 posts, 0 answers
  1. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 05 Feb 2013 Link to this post

    We recently came across a huge spike in memory loss that is not getting cleaned up by IE8. This wasn't an issue in release 1 of 2012 any ideas what has changed since then? The leak seems to occur when any rad control is placed within an iframe. I'm seeing numbers in the megabytes of unreleased memory after just a few minutes of use.

    Has anyone else seen this? Any workarounds for our IE8 users, short of dropping either Telerik or Iframes?
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5522 posts

    Posted 08 Feb 2013 Link to this post

    Hi Rory,

    Perhaps the only significant change is the newer jQuery version. It seems to have some leaks in iframes, meaning that it does not dispose all elements it creates for testing browser features properly. Old IE versions are generally prone to leaks and iframes only make the situation worse. They simply do not dispose properly and there isn't much we can do about this. An option to reduce memory issues is to avoid iframes as much as possible with such old browsers. You can also take a look at this blog post that shows a reason why IE would leak memory with certain objects that have IDs. Nevertheless, if you can isolate a small sample case that shows the controls that you are having issues with we will look into it.


    All the best,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 08 Feb 2013 Link to this post

    Hi Marin I definitely narrowed it down to jquery. When deploying the current dlls, disabling the embedded jquery and linking to an older version of jquery (1.6.4) the leak went away. I then did some research on the JQuery bug tracking system and this one looks like it is the issue and it will be fixed in Jquery version 1.8

    http://bugs.jquery.com/ticket/11757

    For now linking to the older version of jquery seems to be a good workaround.

    Thanks,

    Rory H.
  4. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 08 Feb 2013 Link to this post

    I also just verified that using the latest jquery 1.9 instead of the Telerik embedded version fixes the memory leak too.
Back to Top