The best way to test memory is from a boot disc.
http://www.ultimatebootcd.com contains several different memory testing tools, including memtest86+ mentioned by DutchDaemon (Which is also what I would recommend).
I would recommend using the 5beta instead of the stable 4.10, I use 5beta often and it works quite well (Often better than 4.10).