Copied to clipboard

Flag this post as spam?

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


  • Bo Jacobsen 593 posts 2389 karma points
    Dec 10, 2021 @ 08:47
    Bo Jacobsen
    0

    Umbraco 8 expected memory usage

    Hi all.

    I was wondering what memory usage off an Umbraco 8.16.0 site you would expect.

    I know that it can depend on alot of factors, like custom code, visitors and server setup.

    But the case is that the server only got 4GB ram allocation and that it hits the max limit and lay the site down. The site got around 2000 nodes and 2000 media items, while 450 of them is files.

    So we did a stress test on our own server with 275 fake sessions while we where editing in the backoffice. That causes memory usage of around 3.1 GB to 4.6 GB.

    Then I reed that by enabling 32-bit applications on the app pool, it would use less memory, because the garbage collector runs more often.

    And when we enabled the 32-bit applications on the app pool. The same load only uses around 0.5 GB to 1.3 GB.

    That leaves me alot of questions:

    1. Whats the backfire of enabling 32-bit applications?
    2. Are there anything else we can do to reduce memory usage?
    3. What memory usage should we expect?
  • Dennis 75 posts 397 karma points MVP
    Mar 24, 2022 @ 13:37
    Dennis
    0

    Hi Bo,

    I was wondering if you had found the answers to your questions as I'm currently looking into memory usage for our umbraco websites as well.

    Kind regards,
    Dennis

  • Bo Jacobsen 593 posts 2389 karma points
    Mar 28, 2022 @ 10:07
    Bo Jacobsen
    0

    Hi Dennis.

    No i havent found any direct answers to it yet. But Huw Reddicks link explains something about why using 32-bit worker processes on on 64-bit Windows is better.

  • Huw Reddick 1737 posts 6098 karma points MVP c-trib
    Mar 24, 2022 @ 14:36
  • Bo Jacobsen 593 posts 2389 karma points
    Mar 28, 2022 @ 10:09
    Bo Jacobsen
    0

    Hi Huw.

    Thanks for the link, unfortunaly we cant set the global mode to 32-bit on the shared webservers.

    But i will refer whats in the article in the link.

    "One of the performance benefits of the x64 platform is that it increases virtual address space, making more memory available. We recommend that you configure IIS to use a 32-bit worker processes on 64-bit Windows. Not only its compatibility better than the native 64-bit, performance and memory consumption are also better."

  • Huw Reddick 1737 posts 6098 karma points MVP c-trib
    Mar 28, 2022 @ 13:16
    Huw Reddick
    0

    Are you able to run classic ASP pages in your webspace (if yes 32 bit already enabled)?

    Do you have some sort of hosting panel?

    Maybe you have an option in your hosting panel to enable it?

  • Bo Jacobsen 593 posts 2389 karma points
    Mar 28, 2022 @ 21:20
    Bo Jacobsen
    0

    Hi Huw.

    We can get our hosting provider to enable 32-bit if needed. So that aint actuelly my issue.

    My big wonders is my original 3 questions.

  • Huw Reddick 1737 posts 6098 karma points MVP c-trib
    Mar 29, 2022 @ 05:33
    Huw Reddick
    0
    1. Not that I am aware of
    2. You could try adjusting the apppool recycling so it recycles more often.
    3. How long is a piece of string?
Please Sign in or register to post replies

Write your reply to:

Draft