Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Unload .dll's to Free Memory

Darrell MooreDarrell Moore Member Posts: 10
Unload .dll's to Free Memory:

Windows Explorer caches DLLs (Dynamic-Link Libraries) in memory for a period of time after the application using them has been closed. This can be an inefficient use of memory.

1. Find the key [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer].

2. Create a new sub-key named 'AlwaysUnloadDLL' and set the default value to equal '1' to disable Windows caching the DLL in memory.

3. Restart Windows for the change to take effect.

Comments

  • JonathanJonathan Member Posts: 2,914
    : Unload .dll's to Free Memory:
    :
    : Windows Explorer caches DLLs (Dynamic-Link Libraries) in memory for a period of time after the application using them has been closed. This can be an inefficient use of memory.
    :
    : 1. Find the key [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorer].
    :
    : 2. Create a new sub-key named 'AlwaysUnloadDLL' and set the default value to equal '1' to disable Windows caching the DLL in memory.
    :
    : 3. Restart Windows for the change to take effect.
    :
    This likely won't increase performance, and will probably decrease it. Having the DLLs in memory means they are there to use right away if/when they are needed again. If you force unload them, you'll just have to load them again later on. It's why apps usually start faster second time round after a clean boot than a first.

    I'm sure if you really are low on RAM Windows will unload them then. But plenty of PCs have a good amount of RAM to spare anyway. Amount of free memory alone isn't a good indicator of system performance/health.

    Jonathan

    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Sign In or Register to comment.