The memory used in most PCs today will be clean if you shutdown and then power up. If the memory has an ERROR, then you replace the bad stick of RAM since there are no tools to tell the PC not to use said bad memory or to reprogram the RAM to be good.
Look up MEMTEST86 if you want to try testing the RAM.
Bob
Is there a free small programme that cleans my memory and test it because i thought i have something wrong with my memory card .I recently begin to have lots of memory errors.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic