These are likely using hooking. They don't scan RAM all the time, instead they patch or inject code into the POS software and then record the data when that code is called.
Think of something like Microsoft Detours. RAM scrapers seems a pretty inaccurate description.