Flash drive. There's a number of flash drives that autoexecute when inserted into a computer. These are a known vector for software infections.
As far as I know, ram doesn't generally hold memory after it's been powered down. Ram sticks don't make sense as a vector for a virus as far as I can tell.