Workaround for KB 933245 – Lsm.exe Handle Leak


Consider the following scenario. If you have a computer that uses a high definition audio device, which is running Microsoft Windows Vista, and you are using Windows Media Player 11, handles and memory may be lost because of a leak in the Lsm.exe process.
As you fast forward through your Windows Media Player library, or have a playlist set to repeat, you may lose a large amount of handles in a short amount of time. This can lead to performance degradation and in some cases, “out of memory†error messages and other unexpected behavior. If you review the Task Manager you may notice that Lsm.exe is consuming a large amount of memory.
This issue only occurs if the following statements are true:
- Your computer utilizes a High Definition Audio Device
- You are running Windows Vista, or Windows Vista 64-bit.
- You are using Windows Media Player 11 to play back audio files.
There is a hotfix available from Microsoft to resolve this issue, however in some cases this may not resolve the issue. The following workaround is a method that I have tested on several systems that exhibit this issue and have found that it does indeed resolve the issue.
- Click on Start, and then click on Control Panel.
- Click on Hardware and Sound.
- Under Sound, click on “Manage audio devicesâ€.
- Select your output device in the list that appears (the default output devices is commonly labelled “Speakersâ€)
- Right click on the device and from the context menu click on Properties.
- In the “Properties†window, click on the “Enhancements†tab.
- Tick/check the option box for “Disable all enhancementsâ€.
- Click on OK to dismiss the properties window.
- Click on OK to dismiss the “Sound†window.
- Close the Control Panel window by clicking the Close (â€Xâ€) button at the top right of the window.
NOTE: You will have to restart your computer in order to reclaim previously lost memory and handles.
This article was posted by MSBLOG’s Kristen Kenny on his personal blog: http://www.canucky.net
Posted in Bugs, Computing, Media Center/Media Player, Microsoft, Windows Vista | 2 Comments »
June 29th, 2007 at 4:41 am
Thanks Patrick,
I do a fair amount of development and have found that after a couple hours my machine could no longer create IE windows.
I was rebooting until I looked in the task manager to see that the lsm service was taking about 25% of the available system handles.
July 2nd, 2007 at 2:36 am
Woah!!
Glad to be of help Chris 🙂
All credit goes to Kirstan Kenny though 🙂