Unload DLLs from memory

CMC has another registry hack on how to unload dynamically linked libraries from your memory. What happens is that to increase performance, Windows caches these libraries in memory so it doesn’t have to reload them. If you happen to launch the application multiple times and don’t ever shut down your computer then this could be beneficial. But if you turn off your computer, then chances are you only load applications during the time you need them which is when you turn it on.

  1. Start button, go to Run and type: regedit
  2. Find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
  3. Create a new key (string) called AlwaysUnloadDLL
  4. Change default value to 1.

Thus, this is how to force Windows to unload the DLLs all the time. Nice.