Showing posts with label RAM. Show all posts
Showing posts with label RAM. Show all posts

Thursday, August 7, 2008

Unload Unused DLLs

XP has a very bad habit, Even after an application is closed the associated DLL files still exist in memory. This can waste some precious resources and memory. This also cause stability problems. Make the DLLs unload themselves from memory after the program is done running.



Navigate to:

HLM\SOFTWARE\Microsoft\Windows\CurrentVersion\

Explorer\AlwaysUnloadDLL




If the DWORD AlwaysUnloadDLL is not present, you will need to create it. Set the Value of the ?(Default)? setting to 1. Application-associated DLLs will get unloaded when the application

is closed.

Wednesday, May 7, 2008

Load Kernel Into RAM

In Windows 98, programs could be loaded and kept in RAM for as long as you wanted. You could even load a anything into the RAM even video clip and have it play from there!. this feature doesnto exists in XP  or by defaut it's disabled. this is done mostly due to security reasons.



But when it comes to the Windows XP kernel there is nothing to worry about. By default, XP only loads the required parts of the kernel into RAM at boot time. as and when needed the other parts are called. Having the entire kernel available in memory speeds up processing.



Navigate to:

HLM\System\CurrentControlSet\Control \SessionManager \Memory Management




Set the value of the DisablePagingExecutive key to 1. This will make the entire kernel be loaded in memory. To diable it you can set it back to ) . You need to reboot for the changes to take effect.

Wednesday, April 16, 2008

Free ram memory

After an application is closed, XP has the annoying habit of leaving the associated DLL files in memory. This can hog precious resources and memory, and also cause stability problems. Make

the DLLs unload themselves from memory after the program is done running. This is for older version of windows (before XP SP2). Just open Regedit(START>>RUN>>Type REGEDIT)



Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows

\CurrentVersion\Explorer\AlwaysUnloadDLL






Create the DWORD AlwaysUnloadDLL (right-click on AlwaysUnloadDLL and select new) if absent. Set the Value of the (Default) setting to 1. Application-associated DLLs will get unloaded when the application is closed.



This is one of the job done by several ram optimizer softwares. You need to restart the computer for the change/effect to take place. Be doubly sure that the path is correct and the key doesn't exist before you think of create it(key that you think doesn?t exist). Back up your registry before you do it(click here)