Your max ammount of RAM will most likely be 4GB, but 2GB should be a maximum due to major bottlenecks. For best performance, get 2x 1GB sticks, and sell your 2x 512MB sticks or put them in another computer of yours.