Is there a way to do a complete memory test on an Android device's RAM?

I'm developing a driver, but at random times I get certain physical addresses with the wrong value, causing the driver to go into the wrong state. I'm trying to read from RAM when I hit the problem. I *think* certain portions of RAM on my device are corrupted.