It sounds like you have two different things going on.
1. You have low hard disk space. The way to fix this is to buy a new hard drive to add to your system, or to replace the existing hard drive.
2. You have a small amount, 2 GB, of RAM. The way to fix this is to buy two memory modules of 2 GB each, raising your total system memory from 2 GB to 5 GB.