It sounds like something is causing ashAvast.exe to run but I'm not sure what.
Does it seem like the memory scan is related to a particular action like downloading a file? I mean, if you just let your computer sit idle the memory test doesn't start randomly, does it?
Are you using anything like a download manager or Firefox Download Statusbar where you manually specify to scan with a particular antivirus program?