Thursday, February 12, 2009

Force Windows to Unload DLLs from Memory

Windows Explorer caches DLLs (Dynamic-Link Libraries) in memory for a period of time after the application using them has been closed. This can be an inefficient use of memory on low memory systems, and may cause problems or delays for programmers developing with Windows DLL files.

Navigate to:
HLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer


Create a new sub-key named 'AlwaysUnloadDLL' and set the default value to equal '1'.

Restart Windows for the change to take effect.


0 comments:

About This Blog

The Windows Registry is a database which stores settings and options for Microsoft Windows operating systems. It contains normally information and settings for hardware, operating system software, most non-operating system software, and per-user settings. Registry is used to optimize the security, enhance the functionality, modify the functioning of any software OR settings and many more.

In this blog I have tried to collect all the tweaks and hacks available on various website. I have tested many of these hacks before posting but still I would suggest you to take backup of your registry before trying any of these tweaks and if anything goes wrong while trying these hacks I or this blog will not be held responsible.

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP