Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Björn Thunvik 3 posts 23 karma points
    Nov 14, 2012 @ 14:59
    Björn Thunvik
    0

    Memory leak in Backoffice?

    Hi!


    We are in the process of converting a semi-large web to Umbraco.
    As I am playing around in the backoffice, creating nodes and such, the memory usase of IE9 (same in other browsers) is extremely high. In just an hour or two the memory cosumption is up at 1,8 Gb.

    This is a huge problem which needs to be solved for us or we need to choose another CMS.

    Are there any know issues regarding this? I looked around a bit and saw that some people had the same problems when using fam-fam icons, which we don't. Other then that I couldn't find anything useful..

    Any help apriciated!

     

    Kind regards,

    Björn T

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 14, 2012 @ 17:52
    Jan Skovgaard
    0

    Hi Björn

    What version of Umbraco do you experience this on? and could you share some server specs?

    /Jan

  • Björn Thunvik 3 posts 23 karma points
    Nov 14, 2012 @ 18:12
    Björn Thunvik
    0

    Hi!

    Yes of course, should have posted that originally..

    We started out on 4.7 and are now running 4.9.

    Test environment locally: Windows 7 Pro 64-bit, SQL Server 2008 R2 Standard
    Deploy site: Windows 2008 Server R2, SQL Server 2008 R2 Standard

    We have had the problems since 4.7 on which I had the fam-fams installed.
    I did a clean install of 4.9 rebuilding everything from scratch without the fam-fam package, but still same problem.
    Installed packages are: uComponents, DAMP, Google Maps for Umbraco, Dynamic Data Grid, DAMP Razor Model.

    Anything else I could provide that would be useful?

     

    Björn

  • Paul Blair 466 posts 731 karma points
    Nov 15, 2012 @ 02:27
    Paul Blair
    0

    As you have said the memory usage of IE9 is approaching 2GB I would assume this is a problem on the client side so the server stats should be irrelevant (for now anyway).

    It is quite easy to introduce memory leaks in sites that are making heavy use of JavaScript and libraries like jQuery. One thing I would suggest is test it on a PC other than the development or deployment server using a browser such as Chrome. Chrome will allow you to see the individual memory usage of each tab as well as any other plugins you might have.

    If the problem still occurs then have isolated to being a client side problem and then looking at the memory usage for each tab will show you if it is a Umbraco back office problem or perhaps a problem with the front end wedsite itself. This is certainly possible if you making use of jQuery sliders, accordians, AJAX etc.

    All so, do a right click and inspect element in Chrome. This will show if there have been any script errors or something else that isn't loading correctly.

    Hope that helps to get you started.

    Paul

  • sun 403 posts 395 karma points
    Nov 15, 2012 @ 03:27
    sun
    0

    I met this problems many times. and I can tell you why I met this problem.

    I use MNTP as my tag to use some nodes as content tags, after I use this MNTP a long time. the bug is appear.

    I just close brower and reopen it to solve this problem.

  • Björn Thunvik 3 posts 23 karma points
    Nov 15, 2012 @ 10:52
    Björn Thunvik
    0

    Paul - Now I'm a bit puzzled. The memory use is up to 2 Gb but only running backoffice, not at all looking at the rendered HTML.

    Is the Javascripts used in the end user site (the published one) actually used in the backoffice as well? That makes no real sense?

    Take this example: I have x number of templates and document types. I add a new node of any template type. The memory raises with 50 Mb.
    I add another one, 50 Mb more. I change a text in the first one, add a couple of more nodes, adding a new document type and such normal backoffice stuff.
    The memory is now up to say 500 Mb without even looking at the rendered HTML.
    This can't be anything else but a gaping memory leak hole..

     

    Sun - I don't use your solution, but yes, If I close the browser and reopen the memory is back to a small amount.
    But still, this isn't really a fix for the problem..

     

    I'll try to pinpoint the problem with Chrome.

    Björn

  • Bjarni 7 posts 28 karma points
    Nov 23, 2012 @ 11:40
    Bjarni
    0

    Having same problem here with multiple 4.8 - 4.9 installations. Chrome is eating the ram by the second, Chrome Task manager pinpoints it to the backend tab/s

    Test environment locally: Windows 7 Pro 64-bit, SQL Server 2008 R2 Standard
    Deploy site: Windows 2008 Server R2, SQL Server 2008 R2 Standard

    Installed packages are: uComponents, DateFolders, Imagegen, Contour and XSLTsearch

Please Sign in or register to post replies

Write your reply to:

Draft