Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
You mentioned in your post that you put 6gb RAM when Apple only suggests 4gb. Can you tell me which memory did you use?

Download a very helpful app called Mactracker and it will tell you everything about your iMac and everything apple; yes your machine will support up to 6Gb RAM.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.