Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article provides resolutions for the problem where Worker Process may allocate large amounts of memory when you have a complex content directory structure on Microsoft Internet Information Services (IIS).
Original product version: Windows Server 2008, 2008 R2, 2012, 2012 R2
Original KB number: 3020858
Symptoms
Consider the following scenario:
- You install the Web Server role from IIS.
- You have a content directory whose structure is complex. For example, you have a deep tree that includes many child directories in a parent directory.
- Users send requests for many unique URLs. For example, users send requests for many virtual directories or applications.
In this scenario, the worker process may suddenly allocate a large amount of memory.
Cause
IIS caches configuration information by using a virtual directory path. Additionally, a hash table to access the configuration information efficiently is created. If many unique URLs are accessed, and if the size of the hash table becomes insufficient, the hash table is extended. If you also have a complex directory structure, the size of the hash table may be extended greatly.
Workaround
To work around this issue, use one of the following methods:
- Simplify the content directory structure.
- Increase the frequency of recycling the worker process.