the DLLs unload themselves from memory after the program is done running. This is for older version of windows (before XP SP2). Just open Regedit(START>>RUN>>Type REGEDIT)
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
\CurrentVersion\Explorer\AlwaysUnloadDLL
Create the DWORD AlwaysUnloadDLL (right-click on AlwaysUnloadDLL and select new) if absent. Set the Value of the (Default) setting to 1. Application-associated DLLs will get unloaded when the application is closed.
This is one of the job done by several ram optimizer softwares. You need to restart the computer for the change/effect to take place. Be doubly sure that the path is correct and the key doesn't exist before you think of create it(key that you think doesn?t exist). Back up your registry before you do it(click here)
1 comment:
If this setting actually worked, and there is considerable doubt, it would impair performance. A guiding principle in Windows design was this: Never release anything from RAM until the last possible moment. Freeing memory is quick and easy, reloading that data from disk takes much, much longer. XP has a complex and efficient system for reclaiming memory when needed. It is for this reasom that DLL's are not immediately unloaded.
Free RAM is the ultimate in wasted memory. Windows designers know more about memory management than you do.
Larry Miller
Micrsoft MCSA
Post a Comment