Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Memory leak in the svchost process which hosts the Task Scheduler service


View products that this article applies to.

Summary

When you have a scheduled task configured with the option "Do not store password. The task will only have access to local resources", each time the task runs, it may leak 4 KB memory (and internally it's 64 KB) in the svchost.exe instance which hosts the Task Scheduler service.

This normally won't be an issue, but if the machine keeps running for long time and the task runs frequently, the leaked memory would become considerable eventually, which may cause the svchost.exe process to be instable.

As that instance of the svchost.exe process also hosts other services like User Profile Service, you may encounter symptoms like logon failure (get the error message "The User Profile Service service failed the logon. No more threads can be created in the system.")

↑ Back to the top


More Information

To work around the issue, you may uncheck the option "Do not store password. The task will only have access to local resources".

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2855594
Revision : 1
Created on : 1/7/2017
Published on : 6/4/2013
Exists online : False
Views : 273