Free Up Memory Automatically by Unloading DLLs in Windows 9x and NT with AlwaysUnloadDll
For user that still has and using Windows operating system prior to Windows 2000, such as Windows NT, Windows Me, Windows 98 and Windows 95, there is a trick to free up memory without using any third-party software utility. The trick is to force Windows to unload and free cached DLLs from memory.
Windows Explorer caches extensions DLLs (Dynamic-Link Libraries) in memory for a period of time after the application that using them has been closed or exited. Windows Shell automatically unloads a DLL when its usage count is zero, but only after the DLL has not been used for a period of time. On low memory systems, the behavior will contribute to system slowness and delays with lesser available physical memory, and cause inefficient use of memory especially when debugging or developing Windows DLL files.
In system prior to Windows Vista, user can force Windows unload the unused DLL to free up the occupied memory by using “AlwaysUnloadDLL” setting in the registry.
- Run Registry Editor and navigate to the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
- Create a new sub-key named AlwaysUnloadDLL and set the default value to 1 to disable Windows caching the DLL in memory.
- Restart Windows for the change to take effect.
Note that the registry key is only supported on Windows prior to Windows 2000, so for Windows XP and Vista, the sub-key is useless and unnecessary, and can be safely deleted.
Related Articles
- HLP Free Memory Optimizer to Reduce and Minimize RAM Memory Usage in Windows System
- Workaround to Fix Windows 7 Unable To Create or Save New Files in the Folder Error When Unloading Box
- Force Windows to Login Automatically After Logging Out with ForceAutoLogon
- TCP-Z Free Download (Half Open TCP/IP Memory Patcher for x86 and x64 Windows 7, Vista and XP)
- ShutDownGuard to Prevent Windows Shut Down Automatically
- Automatically Expand Navigation Pane Tree to Current Folder in Windows 7
- Enable Automatically Logon/Login Into Windows XP
- Optimize Memory and Free Up RAM with RAMRush
- How to Automatically Rearm and Extend Activation Grace Period in Windows Vista and Server 2008
- Tips of How to Restart Crashed Applications Automatically in Windows PC









































