Hi,
You can run sharepoint 2010 with 2 GB RAM as well but performance will be too slow. 4 GB is recommended by microsoft for better performance and experience.
Hope it could help
Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"