While the Windows or other applications are running, the Windows Explorer always loads some files which the DLL (Dynamic-Link Libraries) files are some parts of them. After we close applications, the Windows Explorer always caches the DLL files in memory for using them again when we open that applications. In some cases, many DLL files do not be used anymore but they still are in memory. It may be a waste of your computer’s memory so we can set the Windows system stop caching dll files to free your computer’s memory by creating a registry key called “AlwaysUnloadDLL”. Follow these steps below.
- Go to Start > Run .
- Type regedit and then press Enter.
- In the Registry Editor. Go to the path like below …
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
- Right click on the Explorer folder and select new>key.
- Name the sub-key to be AlwaysUnloadDLL.
- In your right hand window, double click on the Default registry and set the value data equal to 1.
- Restart the Windows system.
Related Articles
1 user responded in this post
Bad Idea.
Windows delays unloading of DLL’s for performance reasons. DLL’s are a shared resource and used by many programs. When an application closes the DLL’s are kept in memory in case the loading program or another program requires it. Can this be a waste of memory? Certainly. Wasted memory is memory that is not currently being used for your benefit. Free memory is empty and not being used at all. This is the absolute ultimate in wasted memory. Of course this memory is immediately available when needed. Memory used by unneeded DLL’s can be very quickly and easily freed by the system when needed. This tweak is contributing to memory waste, not helping to solve it.
Larry Miller
Microsoft MCSA, Network+, A+
Leave A Reply
Please Note: Comment moderation maybe active so there is no need to resubmit your comments