Jump to content

Unloading Dlls from memory


Recommended Posts

Hi,

I am sure that most of you here will be familiar with this registry tweak:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
"AlwaysUnloadDLL"=dword:00000001

My question is, does it actually speed things up. I have no doubt it does delete all your unwanted DLLs from memory - but are they there for a reason anyway. I have heard some people say this tweak actually slow things down because if those particular DLLs are needed again they have to be re-loaded.

What do you all think?

Thanks

HougTimo

Link to comment
Share on other sites


Generally not a good idea.

You hit the nail right on the head with "if those particular DLLs are needed again they have to be re-loaded." If the particular DLLs are not needed, then Windows will automatically remove them from memory as needed.

Unused memory is wasted memory. :)

Link to comment
Share on other sites

  • 1 month later...

@"person who's not ophiel :)" It is ancient, not always works. True. But you don't notice anything if you have 256mb Ram +

Edited by T D
Link to comment
Share on other sites

Guys, no need to wonder whether it is efficient or not!. :lol:

Important This registry key is no longer supported in Microsoft Windows 2000 or later.
source : http://support.microsoft.com/default.aspx?...kb;en-us;196480

and,

Unloading the DLL

The 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. This inactive period might be unacceptably long at times, especially when a Shell extension DLL is being debugged. For operating systems prior to Windows 2000, you can shorten the inactive period by adding the following information to the registry.

HKEY_LOCAL_MACHINE

Software

Microsoft

Windows

CurrentVersion

Explorer

AlwaysUnloadDll

from : http://windowssdk.msdn.microsoft.com/en-us...y/ms649579.aspx

And in fact I'd like these guys outside to calm down. France won. OK, now is time to sleep. :P

Edited by Camarade_Tux
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...