Question: what is the difference between ram and swap?
Answer: Swap is hard disk space used as RAM. It is (relatively speaking) very slow, but stops computers from crashing when they are trying to deal with more data then their RAM can handle. To stop processes from using swap — install more RAM.