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

Memory Loss?Tom Coyote Tweak

Memory Loss? Not always a problem

Have you ever wondered why after spending some time working on your computer, that the more programs you open and close, the less available resources you have? You'd think that closing a program would free up any resources it takes up when running right? Wrong.

Windows has a DLL caching mechanism that keeps certain Dynamic Link Libraries (DLL files) loaded to help shorten the time it takes to open programs you use often. While this is a good idea in itself, it is only really useful when you use the same programs over and over and open and close them frequently.

This tip I've found quite some time ago turns off the DLL Caching "feature" and allows the unloading of all program-related DLL files upon closing the program that loaded them. This can and does in fact free up resources used and can also help gain overall stability of the system, especially if the computer is going to be run for long periods of time without restarting.

I've found two variants of this tip, one of which is labeled for Win9x family of the Windows platform (which includes Windows 95/98/98SE/ME), while the other was aimed at Windows XP. Although the Win9x tweak was tested on a XP system and verified to have the same result. So I'll give both here.

Win9x unload DLLs:

Go to Start - Run - type in "REGEDIT" without quotes and press enter. The Registry Editor opens up. Now use the lefthand explorer pane to find this key:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" In the Righthand pane, right click in an empty space and choose "New... - String Value" and name it: "AlwaysUnloadDll" (without quotes and capital letters are important). Give this new string a value of 1, close the Registry Editor, and reboot Windows.

WinXP Unload DLLs: Go to Start - Run - type in "REGEDIT" without quotes and press enter. The Registry Editor opens up. Now use the lefthand explorer pane to find this key: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" Still in the lefthand pane, right click on the Explorer folder and choose "New - KEY". Give it a name of "AlwaysUnloadDLL" (without quotes and capital letters are important). Inside that key change the default string to 1 and close regedit and reboot.

This tweak is perfect for low resource systems. The drawback of using this is a very small slowdown in the initial opening of programs, but this isn't half as bad as it sounds. And the benefit of using this tweak far outweighs the drawback.


Hope this tweak helps all of you.
Regards,
Galadriel - TomCoyote Forums

caperjack
I hate 20 Questions
Team Colleague
13,068 posts since Aug 2003
Reputation Points: 1,064
Solved Threads: 812
 

Interesting ! ! ! I tried this yesterday and haven't yet decided if I actually see any improvement in system response. Give me a few more days to evaluate it. If it works, it's worth it. (I'm running Win Me).

Rueful Rogue
Posting Whiz in Training
218 posts since Nov 2004
Reputation Points: 16
Solved Threads: 8
 

This question has already been solved

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