Friday, August 25, 2006

DLL files and slow computer

Imagine this. You are working in MSWord, close it, that work some in Dreamveawer and Photoshop, close both and than you turn on Winamp to listen some music and start surfing the Internet. All named programs have some DLL files loaded in your RAM until you turn of the computer. And working on computer will be slower and slower. To change that, and to make that DLL files unload after closing particular software, do next:



HKEY_LOCAL_MACHINE/Software/Microsoft/ Windows/CurrentVersion/Explorer



Make new STRING Value, name it AlwaysUnloadDll and give value 1 to it.



Than just restart your Windows.

 

1 comment:

  1. The author is misinformed and doing as he suggests will impair performance.

    Windows does keep DLL's in memory after the loading application closes. This is known as caching. Caching has a long and distinguished history and it is highly developed in XP. But they do not remain in memory until shutdown.

    Windows has a complex and highly efficient system for reclaiming memory used by caching - when it is needed. Until this time comes there is no need or benefit in prematurely removing DLL's from memory. Doing so will IMPAIR performance.

    Windows designers know more about memory management than the author. Windows will perform best without amateurish tinkering.

    The registry setting was intended as a convenience for software developers. It was never intended as a performance enhancement.

    Larry Miller
    Microsoft MCSA
    CompTIA Network+, A+

    ReplyDelete