Let's suppose you want to have more memory without buying new modules. Ok, then read on!
In today's computers the CPU is fast but the memory never enough, so why don't compress memory then?
There is a project called compcache, what makes special devices, can be used as swap, and it's content's are compressed and stored in memory. So it gives you more space in RAM.
It is easily installable (oh ok, you have to compile it by yourself, but it isn't that scary), and does the job.
By the way Ubuntu ships an ancient version of it so you would better compile it yourself.