Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak #2972

Open
3 tasks done
JohnSheppard11 opened this issue Sep 30, 2024 · 8 comments
Open
3 tasks done

Memory Leak #2972

JohnSheppard11 opened this issue Sep 30, 2024 · 8 comments

Comments

@JohnSheppard11
Copy link

Please answer the following questions for yourself before submitting an issue

  • Filters were updated before reproducing an issue
  • I checked the knowledge base and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard Extension version

5.0.113

Browser version

Google Chrome 129.0.6668.60

OS version

windows 10 22H2 19045.4894

Ad Blocking

No response

Privacy

No response

Social

No response

Annoyances

No response

Security

No response

Other

No response

Language-specific

No response

What Tracking protection options do you have enabled?

No response

Issue Details

Steps to reproduce:

  1. Launch

5 browser windows, ~30-50 tabs each. PC Power - sleep only.

1+ week already...

Temp fix: Reopen tab, for some sites after reopening you need to close the remaining processes/scripts through the browser task manager.

Expected Behavior

Working properly.

Actual Behavior

Memory leak happens.
Why plz.

Screenshots

Screenshot 1

Additional Information

This bug may also be present in other browsers, check.

(Memory leak in 2024 imagine)

Using since 2011.

@rpodric
Copy link

rpodric commented Oct 4, 2024

Yes, it is present in other browsers: Slimjet, for example. That's an outdated browser to be sure, but at least it points away from Chrome. This never happened with the MV2 version.

@jimsinenomine
Copy link

This has been present for the past several versions and still persists for 5.0.138. A web page/tab that is open for a significant period of time and/or one that causes a lot of AdGuard extension blocking will cause an out of memory error. I've seen it in Edge, Brave and Vivaldi. I've had to stop using the extension and revert to uBOL in the meantime.

@jimsinenomine
Copy link

Still present in 5.0.161

@rpodric
Copy link

rpodric commented Oct 26, 2024

I guess no one has looked at it yet. Maybe this is the wrong way to report.

@windwak3r
Copy link

@jimsinenomine @JohnSheppard11 @rpodric
Please reproduce the problem and open Task Manager in Chrome (Shift + Esc). How much memory does AdGuard consume and what is the CPU load? Can you reproduce the problem consistently on certain websites or can it happen on any website?

A web page/tab that is open for a significant period of time and/or one that causes a lot of AdGuard extension blocking will cause an out of memory error.

How long does the page have to be open? Do you just leave the page open or refresh it or click something on the page? Do you have any memory-saving options enabled in your browser?

It would also be great if you attach your AdGuard extension settings in the comment.

@jimsinenomine
Copy link

jimsinenomine commented Oct 30, 2024

The ones it's happened on for me are "voice.google.com" and "mail.google.com" (as PWA). I have them permanently open in Edge. Settings are attached. I've turned the extension back on and it should cause the error again (although I did notice an update to 5.0.162). Assuming it errors, I'll then do the task manager checks and report back.

I just leave the page open. No refresh (auto or manual). Memory setting in Edge is the default "Balanced savings".

adg_ext_settings_5.0.162_301024-125258.json

@rpodric
Copy link

rpodric commented Oct 30, 2024

In my case, it must have been YouTube, if the site matters at all, which I'm guessing that it doesn't, since I don't use that browser for anything else. I think it's much more the time on a given site rather than the site.

@jimsinenomine
Copy link

jimsinenomine commented Oct 31, 2024

Here you go re the error and the task manager. Not sure how much it helps. There's a theme here - in case anyone didn't notice 🙂 i.e. Google-owned web sites (Voice, Gmail, YouTube, etc.). Took 10-12 hours for this error to show up. HTH.

Edge OoM error
Edge OoM - task manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants