I have been seeing a window pop up with this error message every time I start my system "
Generic Host Process: Application error - [ Memory Address ] referenced memory at [ Memory Address ]. The memory could not be 'written.'" even after I removed a trojan W32.Spybot.ATEW. Regular scans by
Symantec AV and also
Trojan Remover didn't report any malware. I searched for SVCHOST.EXE and I found this prefetch in %SystemRoot%\Prefetch
SVCHOST.EXE-3530F672.pf
I deleted it and rebooted my system. The error has disappeared.
For all kind of memory related problems for any of windows OS applications like svchost.exe, regsvr32.exe, etc., you can follow this article to resolve it. Say, if you have cleaned your system of Trojans and Viruses, you must also check the prefetch folder under WINDOWS directory for the file names that have similar file names as the application name displayed in error window. If you find any, its recommended to delete these files and reboot the system.