The best thing you can do with OEM machines like this is call up the manufacturer, tell them your problem, and if the product is still under warranty, they will fix it.
Since you took the side panel off however, you have probably voided said warranty.
www.memtest86.com
Download it, boot with a disk on it, run it for a few hours with both sticks installed. If you get errors with a particular stick, replace it.