Like HowStuffWorks on Facebook!

Does adding more RAM to your computer make it faster?

        Tech | Memory

Tips for Adding RAM
A microchip show owner in Seoul's electronics shopping mall checks the display of dynamic random access memory (DRAM) chips. Adding more RAM will make your programs run smoother, but up to a point any additional RAM has no effect.
A microchip show owner in Seoul's electronics shopping mall checks the display of dynamic random access memory (DRAM) chips. Adding more RAM will make your programs run smoother, but up to a point any additional RAM has no effect.
Kim Jae-Hwan/AFP/Getty Images

The extra space in your computer's RAM is created by an important operating system component called the virtual memory manager (VMM). The VMM looks at RAM and finds sections that aren't currently needed. It puts these sections of RAM in a place called the swap file on the hard disk. For example, let's say you have your e-mail program open, even though you haven't looked at e-mail in the last 45 minutes. The VMM moves all of the bytes making up the e-mail program's .exe, DLLs and data out to the hard disk. That's called swapping out the program. The next time you click on the e-mail program, the VMM will swap in all of its bytes from the hard disk, and probably swap something else out in the process. Because the hard disk is relatively slow compared to RAM, the act of swapping things in and out causes a noticeable delay.

So should you just keep adding more RAM until your pockets are empty or your computer can't hold any more? If you have a very small amount of RAM (say, 256 megabytes), then the VMM is always ­swapping things in and out to get anything done. In that case, your computer feels like it is crawling. As you add more RAM, you get to a point where you only notice the swapping when you load a new program or change windows. Once your computer has more RAM than the software running on the machine uses, the VMM has plenty of room and you should never see it swapping anything. After that, adding more memory would have no effect.

Some applications -- like Photoshop, many compilers, most film editing and animation packages -- need large amounts of RAM to do their job. If you run them on a machine with too little RAM, they swap constantly and run very slowly. You can get a huge speed boost by adding enough RAM to eliminate the swapping. Programs like these may run 10 to 50 times faster once they have enough RAM.

For lots more information on RAM and computer technology, swap over to the next page.