Umbraco memory optimization

We run Umbraco in a virtual environment with 8 GB RAM on Windows 2008 R2. Regardless of the version (we have 4.X and 6.x), we see that the memory consumption is about 600 MB for each application pool and website. Sites have 20 to 40 pages, and possibly 500 pages per day.

Memory consumption seems excessive as soon as IIS reset w3c processes again return to 300 - 500 MB. How to reduce the amount of memory?

+3
source share
2 answers

The lite Umbraco website consists of many different parts that consume memory, the most typical, with the exception of the iis service itself, will be

  • entrance
  • Web services
  • Search service (it can be a web service).
  • Scheduled Tasks
  • data caching
  • Custom asp.net code, i.e. if you have any custom dlls or code in the app_code folder
  • ...

I would start by looking in the event viewer, seeing if there are any exceptions thrown by your web applications, if web applications usually collect a lot of garbage information that comes up on iisreset.

The next step is to check all user codes and configure logging levels. When you're done, I profile the application with a memory profiler, there are a few, but the red gates know about their high quality tools (www.red-gate.com/Memory_Profiling).

And ... 300-500 MB of memory is not much from a website running .net with content caching, image conversions, etc., keeping your expectations real. Spontaneously, I would say that you are in the normal range.

+2
source

Today, the simple Umbraco 7 website uses more than 100 MB, but when you enable 32-bit memory, it may be less than 100 MB. In IIS, go to application pools, advanced settings, and set Enable 32-Bit Applications to True.

See: Umbraco-7-Worker-Process-Memory-Usage

0
source

Source: https://habr.com/ru/post/950946/


All Articles