Similarly, you could also run MemTest. I think it also has an option somewhere to max out both the CPU and the RAM. Prime95 and F@H also do that, but are also there to provide a result, whereas MemTest was made specifcally for what you want to do.
http://hcidesign.com/memtest/
^fo