The worker process may allocate a very large amount of memory when you have a complex content directory structure on Internet Information Services (IIS).
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.
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.
To work around this issue, use one of the following methods:
- Simplify the content directory structure.
- Increase the frequency of recycling the worker process.