Tips for Adding RAM
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.
Related HowStuffWorks Articles
More Great Links
- Dunn, Jason. "Computer RAM: a crucial component in video editing." Microsoft.com. Sept. 3, 2003. http://www.microsoft.com/windowsxp/using/moviemaker/expert/dunn_03august11_ram.mspx
- Paulson, Dailey. "Faster RAM tackles data and marketplace bottlenecks." IEEE Xplore: Computer Magazine. Vol. 35, No. 4. April 2002. 17-19. http://ieeexplore.ieee.org/Xplore/login.jsp?url=/iel5/2/21439/00993766.pdf?arnumber=993766
- Video. "How to upgrade your RAM." PC World.com. http://www.pcworld.com/video/id,355-page,1-bid,0/video.html