-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Higher memory usage of Browser process compared to Chrome #21753
Comments
cc: @atuchin-m |
|
@atuchin-m I tried to disable adblock (everything disabled in brave://settings/shields, and passing --disable-brave-extension, hopefully this is enough) and saw no decrease on startup and 30MB decrease for my test case Brave "Browser" on startup: 117MB (virtually no diff) (Chrome no uBlock Origin 70MB) Also this usage grows even more in regular use (not this testing, adblock is on) and usually ~250MB |
@wooque unfortunately I don't see any simple way to disable loading ablock rules completely. You can try to delete Also when you use uBlock/adBlock/etc in Chrome the rules are stored in the extension processes (not in the browser process). That's why it looks like Chrome takes fewer resources. То uBlock extension process should be taken into account. BTW Brave extension is a different thing, it's not about ablocking. 250MB difference is far from acceptable, but only if the scenario/environment are the same. Is it reproducible on the fresh profiles? (adding `--user-dat-dir=<some_temp_directory>) ? @antonok-edm Could you help us with disabling loading adblock rules? |
@atuchin-m 250mb is not difference, but total memory usage of Brave "Browser" process when regularly use it for a while, I never saw such memory usage in Chrome before, I think it was mostly around 150MB after a while, so that drove me to try to reproduce what causes memory usage difference |
@wooque I got that you mean. |
@wooque just curious if you have anything checked/non-default on brave://adblock? |
@iefremov nothing is checked and I have 11 custom filters |
Description
Brave "Browser" process uses much more memory compared to Chrome.
Chrome "Browser" on startup: 67MB
Chrome "Browser" after opening 3 Gmail accounts and 1 Yandex Mail: 89MB
Brave "Browser" on startup: 118MB
Brave "Browser" after opening 3 Gmail accounts and 1 Yandex Mail: 170MB
I think it mostly goes up with heavy apps, utilizing service workers.
Steps to Reproduce
Actual result:
Almost double the memory usage of "Browser" process than in Chrome
Expected result:
Same or slightly more memory usage of "Browser" process than in Chrome
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave 1.36.116 Chromium: 99.0.4844.74 (Official Build) (64-bit)
Revision fee9a47e86e981802390cb0d41c5ed7ea93c4f6f-refs/branch-heads/4844@{#1060}
OS Linux
JavaScript V8 9.9.115.9
User Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36
Command Line /opt/brave.com/brave/brave --enable-features=OverlayScrollbar,VaapiVideoDecoder --enable-gpu-rasterization --enable-zero-copy --disable-features=UseChromeOSDirectVideoDecoder --disable-smooth-scrolling --enable-crashpad --disable-client-side-phishing-detection --disable-domain-reliability --enable-dom-distiller --no-pings --component-updater=url-source=https://go-updater.brave.com/extensions --origin-trial-public-key=bYUKPJoPnCxeNvu72j4EmPuK7tr1PAC7SHh8ld9Mw3E=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU= --sync-url=https://sync-v2.brave.com/v2 --lso-url=https://no-thanks.invalid --variations-server-url=https://variations.brave.com/seed --variations-insecure-server-url=https://variations.brave.com/seed --enable-features=VaapiVideoDecoder,OverlayScrollbar --disable-features=UseChromeOSDirectVideoDecoder --flag-switches-begin --flag-switches-end
Executable Path /opt/brave.com/brave/brave
Profile Path /home/vuk/.config/BraveSoftware/Brave-Browser/Default
Variations AdRewardsStudy:NextPaymentDay
BraveDebounceStudy:Enabled
ConversionsStudy:NewDefaultPattern
Default1pBlockingStudy:Disabled
EphemeralStorageStudy:Enabled
ExtendedVariationsSafeMode4:Default4
ForceDisableBlinkFeatures:Enabled
NativeCosmeticFilteringStudy:Enabled
NavigationThreadingOptimizationsCompat:Disabled
PartitionBlinkMemoryCacheStudy:Enabled
PartitionConnectionsByNetworkIsolationKeyStudy:Enabled
PermissionLifetimeReleaseStudy:Enabled
RequestAdsEnabledApiStudy:Enabled
SpeedreaderReleaseStudy:Enabled
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: