AdGuard Memory Usage Is Too High!

Discussion in 'Technical Support (AdGuard for Windows)' started by november_ra1n, Mar 24, 2014.

  1. november_ra1n

    november_ra1n New Member

    Joined:
    Mar 24, 2014
    Messages:
    13
    Firstly thank you for the great popup/add remover. I have used AdMuncher last 4 years but i have just moved to Adguard for testing. My main worry is Memory usage too high. This makes program eating a lot of memory [92.5 MB] beside makes heavy on the system comparing AM was only 9 MB.
    Code:
    Apps: 29.3 MB
    Back round progress: 63.2 MB
    Totally: 92.5 MB
    I am also member of one of the busy forum other members have same issiue. I was wondering if developer trying to cut down memory usage dramatically? Apart from this biggest worry program working wonderfully.
    Regards.

    8avy.png
     
    Last edited by a moderator: Mar 24, 2014
  2. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,210
    Well, due to its development nature, higher memory usage for Adguard is probably normal. And to be honest, personally, these days I'd not actually call it using up-to 200MB of memory high considering modern web browsers and other popular applications like media players tend to use at least that much if not more than that and that newer PCs contain at least 4GB of RAM.

    http://forum.adguard.com/showthread.php?1119-Its-RAM-usage-is-too-high
     
    Last edited by a moderator: Mar 24, 2014
  3. november_ra1n

    november_ra1n New Member

    Joined:
    Mar 24, 2014
    Messages:
    13
    This is not web-browser it is a popup/add blocker. 95 MB is too high considering AdMuncher was using only 9 MB memory and doing the similar job. Even my Kaspersky Anti-Virus software control everything in my PC and use 50 MB memory.
     
  4. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,210
    Yet Chrome/Firefox tends to use more memory than that - it doesn't matter if it's just a popup/ad blocker, I was generalizing to all applications as a comparison.

    I'm pretty sure it's normal. I *could* be wrong, and avatar should say something on this matter, but I wouldn't be surprised if it's considered normal.

    EDIT: Thinking about this more, it may be possible to reduce the usage to an extent but it'll probably spike when filtering 'heavy elements' like Flash, Java, etc. and when trying to load multiple websites at the same time. I'm not sure how much garbage collection is used in Adguard, but it could potentially be possible to regain resources used that way, especially after a spike in usage when visiting applet-heavy sites or after loading multiple sites at once.
     
    Last edited by a moderator: Mar 24, 2014
  5. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    A browser and this application are completely different one is downloading and displaying the information and the other is blocking the information so nothing is stored as it should just be injecting the blocking code it does seem quite high.

    On my screen now its 62.8 + 52.4 = 115.2mb.
     
  6. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,210
    On the contrary, Adguard has to intercept and process that inbound (downloaded) and probably outbound data on-the-fly and pass it along to the browser so it can draw it as fast/soon as possible. While, sure, the browser is doing a lot of the browsing work but Adguard has to keep up with if not match the browser in speed. You'll notice a small slowdown in loading pages when using Adguard versus without.
     
    Last edited by a moderator: Mar 24, 2014
  7. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    Intercepting and blocking elements isn't the same as displaying those elements, while adguard is doing alot by reading the traffic and then deciding what to block the usage is still high like rain has said, as for slow down i dont notice anything i have fast internet and decent laptop i just find ads about things im not interested in annoying like everyone else that actually pays for an adblocker or uses a free alternative like adblock/adblock plus.
     
  8. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    We'll try to cut down memory usage in Adguard 6.0 but I am sure we would not cut it to 15 Mb.

    Compared with our competitors the memory usage is not so high:
    2014-03-25_1607.png
     
  9. november_ra1n

    november_ra1n New Member

    Joined:
    Mar 24, 2014
    Messages:
    13
    avator this is one of the reason i never used Adblock i used to be a AdMuncher man but sadly developer support interest with his application. I have been using Adguard last 7 days and reading about it a lot of topic about it.
    All i say and see that everyone suffering about high CPU usage apart from that its wonderful software and thanks to you keep updating and developing.
     
  10. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    Thanks:)

    As I've said, we will cut it down.

    But we cannot make memory usage our top priority.
    We are trying to keep balance between memory/CPU usage, filtering speed and development speed.
     
  11. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    I read on another forum that memory usage would be cut hopefully starting in v6 of the application and like you said it was not a priority.

    As for the screenshot avatar you are showing the extension, rain is on about the application.
     
  12. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,210
    Avatar was comparing the Adblock Plus extension for Chrome vs Adguard on Windows as an example.
     
  13. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    And what im saying is its a bad example as he has purposely chosen the extension and said "we are doing better than our competitors" yu can not deny that when its there in black and white.
     
  14. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    Hmm...

    [​IMG]
     
  15. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
  16. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    Hi avatar could it be that i do quite alot of browsing during the day? its currently 43.5mb and 266.1mb.

    Filters: User, English, Spyware, Social media
    Security: Phishing, Malicious
    Extensions: Adguard assistant, Adguard popup

    Log files? looking into this now.
     
    Last edited by a moderator: Apr 13, 2014
  17. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    Hm, nothing special.

    It should release unused memory periodically.
    How much total memory your computer has?
     
  18. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    PC has 8gb but i switch between my laptop and pc depending on what im doing (gaming downloading torrents etc.)
     
  19. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,891
    Does restart of Adguard Service return memory usage back to normal?
     
  20. Nameless

    Nameless Beta Tester

    Joined:
    Mar 19, 2014
    Messages:
    731
    Im going to look into my computer when i get chance first thing is to figure out why the uptime is wrong on daily shut downs its saying its been on for the past 7 days (no doubt 8days today) i might just re-install it all its been 4 months and has a few issues.

    Update:
    Figured out why my computer was not shutting down properly it was due to Windows 8 Fast start up.
    http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html
     
    Last edited by a moderator: Apr 15, 2014