Force Left Nav To at least 200 Pixels wide
Force Body To at least 500 Pixels high
SharePoint MindsharpBlogs > Christina Wheeler > Posts

 Single Post

Feb 06
Published: February 06, 2012 13:02 PM by  Christina Wheeler
As most of you know, the OWSTimer memory leak is still an issue with SharePoint 2010. I created a scheduled task to run using PowerShell to stop the process nightly. Here are the instructions to create the scheduled task.

TaskManager

Open up your Windows Task Scheduler and right-click on Task Scheduler Library and then choose “Create Task” to start the Create Task panel.

Note: If you don’t know where the task scheduler is either search for it or type %windir%\system32\taskschd.msc /s in your Windows start menu search bar.

General
Type in the name and Description (optional) and change the security options to “Run whether user is logged on or not”.

CreateTask02

Triggers
Set your preferred scheduling options. Make sure to set it at a time that that will NOT conflict with backups and other scheduled SharePoint jobs.

CreateTask03

Actions

CreateTask04

Program/Script: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe

Add Arguments: Get-Process OWSTimer| Stop-Process –Force

Once you’re done manually run the process to make sure it’s working. I keep my Task Manager open during testing to make sure the process is being stopped. Don’t worry about restarting the OWSTimer process manually because it will automatically restart on it’s own.



 Comments

No comment(s) to show

 Add Comment

* Required Field
Your Name *
Your Blog Url
Message Subject *
Message Body *