(Solved) Avastsvc.exe very high CPU and Memory usage

Hello. I have seen a few topics on this forum about this issue already. However, most of them were solved by uninstalling the old version with the avast uninstall tool, running avast celanup tool, and installing the new beta version.

I too had this problem on my machine. I tried what everyone else suggested on the forums. It didn’t work. I still see random RAM usage spikes, to upwards of 1/1.5 GB’s, which will then drop the the normal memory usage. However, when the memory drops, the CPU usage starts to go up, very slowly, until it reaches 100%. The only way to stop this is to deactivate the web shield, but not only is that a thing I don’t really want to do, the problem appears again around half an hour after reactivating the shield.

Could anyone give me a hand here?

Thanks in advance.

Guys, please help D: . I think I have a older version of avast around here, should I install the old version, no big risk in doing so?

Have you tried a repair? Control Panel>Uninstall a Program>double click “avast”>click “repair”>reboot
You may need to reboot a couple or more times with a period of time (about 5 minutes) between reboots.
IOW…shut down>wait five minutes>reboot>shut down>wait five minutes>reboot. Give your system enough time
to load all services when you reboot.

Yes, I rebooted around 5 times yesterday (when I installed the beta version), plus a few today, as well, and there were time gaps between each reboot, it wasn’t me rebooting right after the pc starting up. By the way, if I tried to disable shields, avast would just freeze until I rebooted, and I could not close it in the task manager.

Any other security software you have now or ever had?
If uninstalled how was it removed?

I never had any other security software on this pc.

I uninstalled avast by using avastclear and RejZor’s cleanup tool.

At the moment, I had to uninstall the new avast version (through the same methods), and install 8.0.1483 (I had an old installer in my pc), or else I could barely use my machine.

  • Which avast!..?? (Free/Pro/IS/Premier)
  • Which version…??
  • OS…?? (32/64 Bit…? - which SP…?)
  • Other security related software installed…??
  • Which AV(s) did you use before avast!..??
  1. Good idea to keep an older installer…just in case.
  2. Did you have this issue with v2014.9.0.2011?

The new beta was supposed to fix this.

You may need to do another clean install of v2014.9.0.2012 beta so you can get to the set-up logs.

Avast Free
v2014.9.0.2012 / v2014.9.0.2011
Windows 7 64 bit
No
None, avast is the only one I used.

And which service pack is installed ?

Oh, I’m sorry, I totally skipped over that. It’s service pack 1.

Add the two lines in your WebShield.ini

[General]
UseStreamFilter=0

On AIS 2014.9.0.2011 I had the AvastSvc.exe using much more memory than in v8, usually growing with time (up to 250Mb max) … but I noticed that disabling the Webshield for few seconds and the reactivating (from Avast settings) actually makes the process shrink down to 7-10Mb… then it will start slowly growing, but it might help to regain little control of the PC ::slight_smile:

http://forum.avast.com/index.php?topic=144589.msg1048814#msg1048814

I couldn’t disable the shields, because every time I tried to do so when Avastsvc.exe was going nuts, avast would just freeze until I rebooted.

Ok, I have done this, and I will report back in a while, hope it works!

Yep, this seems to have fixed it, thanks a lot!

Where is WebShield.ini located?

I also have a memory usage problem.
http://forum.avast.com/index.php?topic=143167.0

Thank you.

Depends on your OS.
C:\Documents and Settings\All Users\Application Data\AVAST Software\Avast\WebShield.ini XP location
C:\ProgramData\AVAST Software\Avast\WebShield.ini Vista, win7 or later - this ProgramData location may be hidden.

You should only use notepad to edit this and you should run notepad.exe as administrator in win7 or higher.

Thank you DavidR.

I’ve added the lines to WebShield.ini. There seems to be a minor change: The memory usage in idle used to be 40 MB, and now it’s around 30 MB.

In version 2008 the usage was around 2 MB. I downgraded from 2011 to 2008 and now I’m using v2013. Are the figures normal? Should I downgrade again?
And what’s the setting “UseStreamFilter=0” supposed to do?

(Win 7 32 bit).

I appreciate your help.

Hi Yaron,
we have removed the code that periodically swapped the allocated memory to disk, since it was terrible for the performance.
I am not sure at the moment if there is or not an option in the ini file that re-enables this working pool trimming again.

We definitely spoke about such option internally, even had some discussion if the name should be:

PreferSlowDiskAccessToFastMemoryReads=1

or:

EnableExtraSwapping=1

however I am not sure how this ended. I might be able to find out tomorrow.
Lukas.

Hi lukor,

Thank you so much for the detailed explanation.
I don’t mind the extra 40 MB RAM usage if the performance should be improved. Could you please confirm that 40 MB is normal?
I was concerned that my settings were wrong.