Computer usage can't damage ram as long as its running at the correct speed and is the correct type. RAM does sometimes fail after usage but its usually a defective piece.

A virus can however damage data on your hard drive..