Author Topic: Memory usage  (Read 10925 times)

0 Members and 1 Guest are viewing this topic.

Avaster

  • Guest
Memory usage
« on: September 04, 2007, 12:07:31 PM »
Avast memory usage (3 main processes) is relatively high. Those 3 processes takes about 13-16MB.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11660
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re: Memory usage
« Reply #1 on: September 04, 2007, 12:30:38 PM »
The numbers you quoted sound quite normal to me...  ;)
If at first you don't succeed, then skydiving's not for you.

Hard_ROCKER

  • Guest
Re: Memory usage
« Reply #2 on: September 04, 2007, 12:52:58 PM »
Not to mention very low compared to other AV's ...

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 87079
  • No support PMs thanks
Re: Memory usage
« Reply #3 on: September 04, 2007, 02:10:59 PM »
13-16Mb is a drop in the ocean in today's application terms.

Firexfox is currently using 63Mb.
My firewall, outpost pro 32.7Mb.
Explorer is using 30Mb.

So avast by comparison to these is very light and compared to many other AV (apples with apples) it is extremely light. Remember your AV resource load has a direct relationship with what other applications you are running and what you are doing.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 22.10.6038 (build 22.10.7633.734) UI 1.0.733/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Dwarden

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1793
  • Ideas, that's ocean without borders!
    • Bohemia Interactive
Re: Memory usage
« Reply #4 on: September 04, 2007, 04:01:36 PM »
While working with latest Avast! beta build (1038)

TaskManager Memory Usage / Peak MU
ashDisp.exe 6625K - 28612K
ashMaiSv.exe 820K - 19568K
ashServ.exe 17496K - 49212K
ashWebSv.exe 528K - 17640K
ashUpdSv.exe 256K - 2160K

Process Explorer Private Bytes / Peak PB, Working Set, Peak WS
ashDisp.exe 3252K - 17124K , 6660K - 28612K
ashMaiSv.exe 3860K - 9736K , 2364K - 19568K
ashServ.exe 25040K - 29944K , 17816K - 49212K
ashWebSv.exe 14628K - 19372K , 528K - 17640K
ashUpdSv.exe 872K - 872K , 340K - 2160K

it may be bit higher than usual,
 but this is with everything set high and active ...
 
only coders from Alwil may answer if there is any chance to lower memory usage w/o sacrify something elsewhere ...

btw. while working with memory hungry application (1.5GB+ memory sucked in second) all Avast! processes in memory dropped to less than 1MB each
« Last Edit: September 04, 2007, 04:30:43 PM by Dwarden »
https://twitter.com/FoltynD , Tech. Community, Online Services & Distribution manager of Bohemia Interactive

swico

  • Guest
Re: Memory usage
« Reply #5 on: September 04, 2007, 04:39:20 PM »
Avast memory usage (3 main processes) is relatively high. Those 3 processes takes about 13-16MB.
OMG, I think it is very low and you hardly find one AV that has less resource usage

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 87079
  • No support PMs thanks
Re: Memory usage
« Reply #6 on: September 04, 2007, 04:41:08 PM »
I think you should probably discount the Peak as that is for activity, which may differ wildly from user to user and drops back to sort of normal levels afterwards.

I think it is Vlk who suggests the VM size in Task Manager is a better gauge of memory use, that and or Mem Usage
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 22.10.6038 (build 22.10.7633.734) UI 1.0.733/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11820
    • AVAST Software
Re: Memory usage
« Reply #7 on: September 04, 2007, 05:01:03 PM »
btw. while working with memory hungry application (1.5GB+ memory sucked in second) all Avast! processes in memory dropped to less than 1MB each

Well, that's what the OS memory management is for, isn't it? ;)  (swap out recently unused parts when more memory is needed elsewhere).

I think you should probably discount the Peak as that is for activity, which may differ wildly from user to user and drops back to sort of normal levels afterwards.

Yes, the peak values don't say much. avast! uses file-mapping to access scanned files; so, if there was a big file scanned in the past (or a big file was extracted from archive), the peak might be rather huge. But of course, the usage is so high only for the moment of the scanning.

Avaster

  • Guest
Re: Memory usage
« Reply #8 on: September 04, 2007, 05:56:53 PM »
Avast memory usage (3 main processes) is relatively high. Those 3 processes takes about 13-16MB.
OMG, I think it is very low and you hardly find one AV that has less resource usage
I just compared to one AVG user, whose memory usage was about 3Mb. (3 AVG processes).

swico

  • Guest
Re: Memory usage
« Reply #9 on: September 04, 2007, 06:19:51 PM »
I just compared to one AVG user, whose memory usage was about 3Mb. (3 AVG processes).
Only AVGAV, maybe. I have used AVG; I know it.
But AVGAV free cannot provide the same security as avast! does

Offline Dwarden

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1793
  • Ideas, that's ocean without borders!
    • Bohemia Interactive
Re: Memory usage
« Reply #10 on: September 04, 2007, 09:23:25 PM »
hey i said nothing against Avast! :) i find it pretty fine ... i dont care if it uses some more MBs when they FREE to use :)
and there is no hope for people who don't get difference between max,avg and min usage of memory sets :)
https://twitter.com/FoltynD , Tech. Community, Online Services & Distribution manager of Bohemia Interactive

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11660
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re: Memory usage
« Reply #11 on: September 04, 2007, 09:41:31 PM »
Quote
I just compared to one AVG user, whose memory usage was about 3Mb. (3 AVG processes).

Ahh, AVG.
The AVG scanning engine actually runs in the kernel (in the kernel-mode driver avgcore.sys) so you won't see its memory usage in the Task Manager. Just FYI. :)
If at first you don't succeed, then skydiving's not for you.

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 87079
  • No support PMs thanks
Re: Memory usage
« Reply #12 on: September 04, 2007, 11:09:31 PM »
That is sneaky, is there any advantage in doing this or is it just masking resource usage ?
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 22.10.6038 (build 22.10.7633.734) UI 1.0.733/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67235
Re: Memory usage
« Reply #13 on: September 05, 2007, 12:19:31 AM »
Ahh, AVG.
The AVG scanning engine actually runs in the kernel (in the kernel-mode driver avgcore.sys) so you won't see its memory usage in the Task Manager. Just FYI. :)
Is it a good policy?
Why don't you do the same?
How can we measure such resources usage in this situation (kernel-mode driver)?
The best things in life are free.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11820
    • AVAST Software
Re: Memory usage
« Reply #14 on: September 05, 2007, 12:37:31 AM »
Well, "policy"... it's connected with the structure of the program, how it's done (whether the scanner is in kernel mode or user mode) - which is a design decision, I'd say.