Try memtest86/freeware, it will tell if you have a lemon.
I had the same problem with my MacMini, it can pass OSX RAM test, but memtest86 caught the problem, I then got a free replacement, please note that almost all RAM come with life time warranty.