Honestly man, don't waste your money on anything more than 2GB ram.
I built a top of the line gaming computer (3.0 Ghz dual core, 8800 GTS 512, 4GB ram) I have 4GB of ram, and running 2 instances of Terragen and doing 2 full quality renders at the same time, Terragen only utilizes 30% of my RAM.
A better processor has a much larger effect on render time than more RAM, seeing as Terragen is only allocated a certain amount of RAM. Additionally, when you increase RAM amounts past 3GB, you have to purchase a 64 bit operating system to use it.
However once Planetside optimizes Terragen for higher amounts of RAM and multi-core processors, 4GB of RAM may be beneficial.