Copied to clipboard

Flag this post as spam?

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


  • K.Garrein 162 posts 626 karma points
    Jun 23, 2010 @ 09:44
    K.Garrein
    0

    Client side memory leak?

    Hey.

    I inherited a couple of Umbraco projects from an ex-collegue (3 sites that were created using Umbraco).

    Due to performance complaints from all of our clients using the Umbraco CMS, I was asked to investigate the problem.

    My investigation started server-side, the 3 sites are running on a VPS, but everything seems fine there.

    Next we tried to simulate the problem by using the Umbraco management section ourselves.
    And here we found an apparently serious issue!

    Every time we click on the button "Save" or "Publish" on top, about exactly 10MB extra memory gets used on the client-side computer.
    (MIU = Memory in use)
    MIU 2,67 GB -> Save -> MIU 2,68 GB -> Publish -> MIU 2,69 -> ... etc.

    I'm unsure what causes this problem, but since it is a client side memory buildup I would think the memory leaks are caused by javascript?

    For us (as developer of the sites) this problem never showed since we have desktops with 4GB or more RAM.
    However our clients work on lighter desktops with 512MB or 1GB RAM and their memory gets filled quickly.

    Is this a known issue with Umbraco?
    Is there a fix available?

    Thank you!
    Regards.
    Kris.

  • K.Garrein 162 posts 626 karma points
    Jun 23, 2010 @ 09:49
    K.Garrein
    0

    We tested on 2 different client computers:

    1. Workstation running Windows Server 2008 x64 SP2 using IE8 and FF3.6

    2. Laptop running Windows 7 using IE8, FF3.6 and Chrome

    The probleem seems to be browser independant, the problem occurs on all browsers listed above.

    K.

  • Tom Maton 387 posts 659 karma points
    Jun 23, 2010 @ 12:37
    Tom Maton
    0

    What version of Umbraco are you running?

  • K.Garrein 162 posts 626 karma points
    Jun 23, 2010 @ 13:04
    K.Garrein
    0

    This is the info from the about window:

    umbraco v 4.0.3 (Assembly version: 1.0.3625.27276)

    Regards.
    K.

  • K.Garrein 162 posts 626 karma points
    Jun 28, 2010 @ 10:37
    K.Garrein
    0

    Surely someone else must be experiencing this problem too???

    I just installed the new version of Umbraco for a new project --> umbraco v 4.5.0 (Assembly version: 1.0.3827.19799)
    This new version seems to suffer the same memory issue!

    Regards.

    K.

  • K.Garrein 162 posts 626 karma points
    Jul 02, 2010 @ 10:35
    K.Garrein
    0

    I've been testing on different client platforms and client computers:

    Windows XP SP3 x32

    -          IE6 à excessive client-size memory usage

     

    Windows 7 x64

    -          IE8 à excessive client-size memory usage

     

    Windows Server 2008 R2 Enterprise x64 (also Datacenter x64)

    -          IE8 à excessive client-size memory usage

     

    Windows Server 2008 x64 SP2

    -          IE8 à excessive client-size memory usage

    -          FF3.6 à excessive client-size memory usage

     

    Windows Server 2003 x32

    -          IE8 à no problem

     

    Could anyone test this problem on their Umbraco configs?

    Regards.
    Kris

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 10:42
    Dave Woestenborghs
    0

    Hi Kris,

    I just tested this with one of my sites. In IE7 and FF3.6. I could not reproduce this behavior.

    Are you using any custom datatypes, action handlers etc... 

    Dave

  • K.Garrein 162 posts 626 karma points
    Jul 02, 2010 @ 10:47
    K.Garrein
    0

    Well, the programmer who made the site might have used custom stuff, I don't really know but am definitely willing to check.

    How do I recognize these custom things?

    Thanks.
    K.

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 10:51
    Dave Woestenborghs
    0

    You can check your bin folder. If it has any other dll's than the install package you probably have some custom code.

    You can find the install package here : http://umbraco.codeplex.com/releases/view/33743

    Dave

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 10:53
    Dave Woestenborghs
    0

    Maybe also worth checking are the /usercontrols and the /umbraco/plugins folders

  • K.Garrein 162 posts 626 karma points
    Jul 02, 2010 @ 11:28
    K.Garrein
    0

    Hey.

    the site has no non-default dll's, controls or plugins at the locations you specified.

    Regards.
    K.

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 11:47
    Dave Woestenborghs
    0

    Does the problem also occur in Google Chrome ?

  • K.Garrein 162 posts 626 karma points
    Jul 02, 2010 @ 12:01
    K.Garrein
    0

    According to my employer yes, he's a chome fanatic and checked on his windows 7 notebook.

    I have not checked using chrome myself.

     

     

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    Jul 02, 2010 @ 12:08
    Dave Woestenborghs
    0

    Have you tried firebug or fiddler to see of all clientside scripts are loading fine ?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies