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.

  1. Run Registry Editor and navigate to the following registry key:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]

  2. Create a new sub-key named AlwaysUnloadDLL and set the default value to 1 to disable Windows caching the DLL in memory.
  3. 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.

Share and contribute or get technical support and help at My Digital Life Forums.



Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

AlwaysUnloadDLL - unload dll from memory - windows DLL self unload - Free Up Memory (RAM) in Windows - unloading dlls - vista alwaysunloaddll - memory up register code - how to free up memory on a pc - memory free vista\ - unloading dll - vista free up memory - how to free up ram on windows vista - memory free vista - memory up register codes - freeing up memory with ie7 - unload .dll free memory - physical memory free up utility - vista unload dll - déchargement des dll en mémoire - unload memory vista - dlls - PSAPI.DLL NEDİR - free memory dll after use - registry unload unused dll - release memory automatically - free DLL downloading not registered key - unload dll vista - unload dll on vista - how do i free up windows memory - unload memory in vista - unused dll freeware 2008 - "how to free up" memory windows 2000 - barbie dlls - DLL in memory Caching - force windows users to release virtual memory - freeing windows memory vista - how to Unload .dlls to Free Memory - Keeping DLLs in Memory all the time - auto unload dll from memory - unloading dll files from memory - " free up windows memory" - dll in memory - force release DLL - load dll permanent in memory - unload dll force memory - when to unload a dll - windows free up memory - windows xp release memory force - free low memory forced fuck videos - Windows ME Dlls -