954,301 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Always unload dll files to save memory

Windows does not unload dll files a program has used after it has been closed, to speed up a possible restart of the program.


Use Regedit to edit: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer Add the DWORD value named: AlwaysUnloadDLL and set it to 1

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

Thanks for this. However, what advantage does unloading DLLs have? Does it free up RAM?

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

Yes .. the programs use dll libraries but they are not automatically unloaded ... taking a pretty much amount of ram .. only for users who dont restart programs frequently( frequently means a lot of times in one session).

nanosani
Unauthenticated Liar
Team Colleague
1,830 posts since Jul 2004
Reputation Points: 45
Solved Threads: 56
 

how to unload dll:

I use warecase XTM. Very efficient tool to unload dll and to control other internal processes.

Joan
Newbie Poster
1 post since Dec 2004
Reputation Points: 10
Solved Threads: 0
 

I realize this is an old thread but it showing up high in Google. Just an FYI but this "tweak" is a Myth:

http://mywebpages.comcast.net/SupportCD/XPMyths.html

Mastertech
Light Poster
25 posts since Jan 2005
Reputation Points: 13
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: