How can I perform RAM test in Qnx

Let me know how can I perform RAM test, if you have any code please attach it