Home » Windows XP » unload unused DLL and regain memory in Windows XP
Jul
07
 

Most of the time whenever a program is closed the DLLs hang around in your memory in case the program is loaded again. This can be an inefficient use of memory. The advantage of using this registry tweak is that you regain precious system memory whenever a program is closed. This registry change will tell the operating system to automatically unload DLL(dynamic link library) files every time a program is closed.

Note: I recommend this tweak for people that have below 512MB of memory or if you are a developer and would always like to have DLL unloaded when youre testing software. At higher memory levels 1GB plus, RAM is really not an issue if youre just doing basic computing (i.e. no memory intensive applications).

Follow these steps if you already have the key in your registry. if you dont have the key follow steps 6 to 8

1. Before you edit your registry it is a very good idea to first backup your registry.

2. After you backup your registry Go to Start > Run then type in regedit


3. Navigate to the following keys; HKEY_LOCAL_MACHINE > Software > Microsoft > Windows > CurrentVersion > Explorer > AlwaysUnloadDLL


4. When you get to AlwaysUnloadDLL click on it, the pane to the right should have only one key, double-click on (Default) change it value to 1 (this will enables the setting)


5. Click OK and restart your computer

Follow these steps if you do not have the key

6. Navigate to the following keys; HKEY_LOCAL_MACHINE > Software > Microsoft > Windows > CurrentVersion > Explorer

7. When you get to Explorer right-click on it and select New > Key, name that key AlwaysUnloadDLL and set the value to 1



8. Click OK and restart your computer

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Related posts:

  1. Removing Happy99.exe (ska) virusThis Happy99.exe (ska) virus or worm as it is better described, This worm is attached to newsgroup and e-mail messages as an attachment called Happy99.exe. You cannot get infected with this virus just by reading a newsgroup or e-mail message. You have to execute the attachment by opening it. Generally, the person who sent it [...]...
  2. USB Stick Virus causes Windows XP Problems (RECYCLER.exe)I got an interesting Problem. I havent figured it out completely yet and hope for some support from you guys.I´m not a geek, and moreover completely new at forums. But enough personal preliminaries.I have an USB Stick. When I Plug it in, everything is fine, till i double click it in Windows Explorer. After I do so, it does something i havent really figured out. But so far I can report the following problems it seems to cause:i) After a while i get a Windows error message that tells me: RECYCLER.exe has encountered a problem and needs to be closed, ...ii) The USB Stick wont open anymore, when I double click it. I have to right click it and say explore out of the context menu.iii) I cant show hidden files anymore in Folder Options! I solved this Problem already by following the tips of this Forum here in that thread:http://forums.cnet.com/5208-6142_102-0.html?forumID=5&threadID=232457&messageID=2396828I Used the Registry fix:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALLin the right side of the window, there must be a entry called: checkedvalueright click on it n and select value....if its value is set for 0 than delete it n set the value as 1..close the regedit window.....now the problem must be gone......this worked in my system n now i canunhide the hidden files......This Registry Fix makes me capable to show hidden files in Windows explorer again.iv) when i unplug the USB stick and Plug it in again, Windows just wouldn`t give me the menu with the Options what i want to do anymore.As I said, I fixed the problem to show hidden Files. So there are two hidden Files on my USB Stick:a) autorunb) RECYCLERautorun looks like this:[AutoRun]open=RECYCLER.exeshellexecute=RECYCLER.exeshellAutocommand=RECYCLER.exeWhat the RECYCLER.exe does, i cant really tell. I tried to figure out by disassembling it with a tool from HavenTools called PE Explorer:http://www.heaventools.com/But my Computer Skills seem to be not sufficient enough to analyse it properly. Can anybody help me?...
  3. How To Show or Hide Drives in My Computer<P>There are times when I want to hide one or more of my Windows drives because of security reasons (children getting up on the system and messing up everything or if the computer is in use by multiple people). For theses reasons, I would just prefer to hide my data in a safe place .. [...]...
  4. Fixing & Repairing windows-xp fastOne of the best kept secrets of Windows XP is its built in repair feature!In previous versions of Windows, correcting an operating system error, or installing a new motherboard, usually meant formating and reinstalling, resulting in loss of all data. Dont worry; Windows XP repair feature wont delete your data, installed programs, personal information, or settings. It just repairs the operating system!Note: The system repair function will remove any updates you have previously installed that are not included on the CD. Drivers will also be reverted to their original XP versions, as well as some settings (network & performance settings may sometimes be reset to their defaults). It may be necessary to reactivate your Windows XP as well. When finished, you will have to download all of the updates from Microsoft Windows Update, because they are all replaced during repair....
  5. fix messenger problems – update messengerEd Bott is probably my favorite person to read when it comes to covering Windows and other Microsoft software. Today I noticed a little post he had regarding a way to fix Windows Live Messenger in case you find yourself unable to log in. I didn't think much of it, until my wife asked ...
  6. good disk utility programs that can recover, repair or at least deal with a hard driveQuestionDo you know of any good disk utility programs that can recover, repair or at least deal with a hard drive that has bad sectors?  Are there any free downloadable programs out there?  Thank you,Landon  AnswerHi,It is best to use the tools on the operating system first, below is soem accepted wisdom for sector repair. Note: Backup al your work first, if the errors continue to occur, then your have drive issues that will ultimately compromise your data.here are the steps (Both WIndows and Mac described below)...
  7. Microprocessor Memory RAM or ROMThe previous section talked about the address and data buses, as well as the RD and WR lines. These buses and lines connect either to RAM or ROM -- generally both. In our sample microprocessor, we have an address bus 8 bits wide and a data bus 8 bits wide. That means that the microprocessor can address (28) 256 bytes of memory, and it can read or write 8 bits of the memory at a time. Lets assume that this simple microprocessor has 128 bytes of ROM starting at address 0 and 128 bytes of RAM starting at address 128. ...
  8. Flash memory Vs Hard diskThere are significant differences between a standard hard drive and flash memory. A hard drive is a fairly heavy palm-sized device composed of several spinning platters and a roving head that reads data that has been magnetically imprinted on the platters. Flash memory refers to a memory chip about the size of a postage stamp, [...]...
  9. Using Windows NT Embeddeds serial console administration with Windows XP EmbeddedWhen Windows XP Embedded first started shipping, it was leaps and bounds better then original Windows NT Embedded. All the new PC technologies such as USB, IEEE 1394, multimedia, plug-n-play technologies, and ACPI were supported. The tools and database were improved. Many Embedded Enabling Features (EEF) were carried over and improved: the new Enhanced Write [...]...
  10. Make Vista Great Part 2: Fix Windows Explorer Stop the Green Ribbon of DeathAny Vista user is likely to recognize with fear the green progress bar that sometimes appears across the top of Windows Explorer: If its there for more than a few seconds, that could mean Explorer has crashed. Regardless, youre stuck waiting as long as a minute for a simple Explorer window to become usable! To reset Explorer without restarting Windows, press Ctrl-Shift-Esc, choose the Processes tab, and click the Image Name column header to sort the list. Select each instance of Explorer.exe in the list and click End Process to close it. Dont panic if you lose your desktop along the way; from Task Managers File menu, select New Task, type explorer, and click OK to restore your desktop.  ...
  11. how to enable network animation windows vistaSlow down the window animation speed in Windows Vista This little tip has been kicking around since Windows Vista Beta 1 and I just confirmed that it works on the RTM build (6000.16386). For those of you who dont know what this is, you can change a certain registry key and it will allow you [...]...
  12. MSN Messenger Error Code – 80048820The Symptoms you get When you launch MSN Messenger and try to logon, you get error message 80048820.  A wild guess, your system time, or system date needs adjusting. Possible Cause of Code 80048820 There are a variety of causes of this error: 1) Incorrect Proxy Setting for Internet Explorer. 2) softpub.dll may have become [...]...
  13. How Computers Work – Processor and Main MemoryThis is a tutorial web book. All 152 pages of the large paperback book with 96 diagrams are on 38 web pages here. Even if you know nothing about electronics, you have come to the right place. If you are wondering how microprocessors work, you have come to the right place. A microprocessor is a [...]...
  14. remove a Trojan, Virus, Worm, or other MalwareAdware - A program that generates popups on your computer or displays advertisements. It is important to note that not all adware programs are necessarily considered malware. There are many legitimate programs that are given for free that display ads in their programs in order to generate revenue. As long as this information is provided up front then they are generally not considered malware...
  15. Removing JAY.EXE VirusTo be able to locate all the mveo.exe and jay.exe files,1. open a windows explorer window2. click on tools then click folder options3. choose the view tab4. on the hidden files and folders menu tick on show hidden files and folders.5. uncheck hide extensions for known file types6. uncheck hide protected operating system files (recommended)7. click apply then okNext we will have to remove the jay.exe and mveo.exe files1. Press ctrl+alt+del to open taask manager2. In the processes tab look for the mveo.exe and end process.To delete all the jay.exe and mveo files, search for it using the search for files and folder option in the start menu.1. type jay.exe in the searchbar2. click more advanced option3. put a check on search hidden files and folders4. then click on start search5. delete all jay.exe entries6. repeat steps 1-5 to search for mveo.exe7. also delete autorun.inf fileTo delete registry entries1. click on start2. click on run3. in the run text box type regedit4. press ctrl+f and type in the textbox jay.exe5. delete all entires having jay.exe entries6. press F3 to search the next entry.note: if an entry is in c:windows... edit the value and go to the end of the string anddelete only the jay.exe text on the end of the stringTo edit the IE windows back to its original name:1. open regedit2. press ctrl+f3. type in the searchbar window title4. If the value that appears has the jaymyka.wen9.com value, change it to Internet Explorernote: this would be the title bar of your Internet Explorer.After all of these steps are done:try to look again for the jay.exe and mveo.exe files using the search for files and folders application of windows.after deleting all those files restart your computer....

248 views

Add reply

 3000 characters available