unload unused DLL and regain memory in Windows XP
Most of the time whenever a program is closed the DLLs hang around in your memory in case the program is loaded again. This can be an inefficient use of memory. The advantage of using this registry tweak is that you regain precious system memory whenever a program is closed. This registry change will tell the operating system to automatically unload DLL(dynamic link library) files every time a program is closed.
Note: I recommend this tweak for people that have below 512MB of memory or if you are a developer and would always like to have DLL unloaded when youre testing software. At higher memory levels 1GB plus, RAM is really not an issue if youre just doing basic computing (i.e. no memory intensive applications).
Follow these steps if you already have the key in your registry. if you dont have the key follow steps 6 to 8
1. Before you edit your registry it is a very good idea to first backup your registry.
2. After you backup your registry Go to Start > Run then type in regedit
Follow these steps if you do not have the key
6. Navigate to the following keys; HKEY_LOCAL_MACHINE > Software > Microsoft > Windows > CurrentVersion > Explorer
7. When you get to Explorer right-click on it and select New > Key, name that key AlwaysUnloadDLL and set the value to 1
8. Click OK and restart your computer
Entry filed under: Windows XP.