Tuesday, May 22, 2007

Fixing The Firefox Memory Leak

in case you didn’t know Firefox has a small memory leakage problems that can cause your pc to freeze up. basically what happens is when you minimize Firefox it stops consuming memory, however when you maximize it again the memory usage will increase, sometimes even doubling. fortunately, there is a small fix that you can implement.
heres what you do:

1. Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
2. Right Click in the page and select New -> Boolean.
3. In the box that pops up enter config.trim_on_minimize. Press Enter.
4. Now select True and then press Enter.
5. Restart Firefox.
tada, Firefox will stop eating your memory.

How to improove Windows XP performance

First, what is the kernel? Well kernel is a piece of code that is considered the "heart" of the operating systems. It's responsible for managing system resources and the basic communication between hardware and software. It translates any functions between the applications and the CPU, main memory and other devices.

Accessing the kernel from the hard disk is usually the default on any operating system. You can set it to automatically load in the system's RAM at the boot and get better performances.



First open the Regedit tool (Start Menu - Run - regedit.exe). By using the icons in the left panel, navigate to HKEY LOCAL MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management (by clicking the + sign near each and expanding it).
In the right panel you can see the values assigned. Double click the DisablePagingExecutive to edit that field and change it to 1. Be sure to make the change in decimal.

This will make all drivers and kernel to run from system's memory.

You can also edit LargeSystemCache value and change it to 1 in decimal. This will improve kernel access time.

Then you can edit IOPageLockLimit field. Change it according to these rules:

- 4000 if you have 128 RAM or less
- 10000 if you have 256 RAM installed
- 40000 for more

This will change the number of bytes for input-output operations and will increase system performance.

2) Boot

To improve boot times edit the following value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\SessionManager\MemoryManagement\PrefetchParamete rs with Regedit like in 1).

Change this value from 3 to 5 in decimal. This will improove boot time with 5 to 20 seconds depending on your system's speed.

3) Shutdown

There are some tweaks that help your computer to shutdown faster.

a) automatically end any task running (Caution: this will disable any confirmations like "Do you want to save document X before closing?")

Go to HKEY_CURRENT_USER\Control Panel\Desktop using Regedit and edit the AutoEndTask key. Set it to 1 in decimal.

cool.gif make the open applications close faster at shutdown

Go to HKEY_CURRENT_USER\Control Panel\Desktop and set the WaitToKillAppTimeout and HungAppTimeout keys to 1000. Make these two changes in the HKEY_USERS\.DEFAULT\Control Panel\Desktop too.

c) make any service close faster

Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l and set the WaiToKillServiceTimeout to 1000.