I’m not so sure it’s a memory trouble… :
Are you running Windows XP? Maybe it’s a RPC (Remote Procedure Call) service error. Go to Administrative Tools > Services > RPC and see if it is set for start and run automatically.
Maybe, the easier will be an uninstall and re-install avast! to see if it works.
Luck