Brave is using 250GB of HDD


#1

Good day Bravers,

I started using Brave a couple of days ago. “Amazing piece of tech” I thought, until today.
The folder on my hard disc is now about 250GB and counting. Is this common?
I haven’t downloaded any torrents or additional plugins!
Like this I can’t use Brave anymore even if I wanted to.

Cheers,
Dan


Excessive hard drive consumption
#2

Which platform are you running Brave on? Please paste the info form about:brave.


#3

Hi sriram,

thanks for looking into this!

OSX 10.12.6 Sierra
Macbook Pro retina & touch

Brave: 0.20.30
V8: 6.4.388.40
rev: 8b78402e7b3b91d44d8146cbe4dc8013592c33fd
Muon: 4.7.9
OS Release: 16.7.0
Update Channel: Release
OS Architecture: x64
OS Platform: macOS
Node.js: 7.9.0
Brave Sync: v1.4.2
libchromiumcontent: 64.0.3282.119


#4

Hi @DanMercurius,

Brave definitely shouldn’t be using that much HD space. If you look in your Brave profile folder located in ~/Library/Application\ Support/brave/, do you see any specific files that are really large? Or is it a combination of several different files? Here’s how my ~/Library/Application\ Support/brave/ looks like on a clean install which uses about 37MB:

total 26544
drwx------  30 kjozwiak  staff      960 15 Feb 12:00 .
drwx------+ 57 kjozwiak  staff     1824 15 Feb 12:00 ..
-rw-------   1 kjozwiak  staff  2054814 15 Feb 12:00 ABPFilterParserData.dat
drwx------  24 kjozwiak  staff      768 15 Feb 12:00 Cache
-rw-r--r--   1 kjozwiak  staff        0 15 Feb 12:00 Consent To Send Stats
-rw-r--r--   1 kjozwiak  staff    28672 15 Feb 12:00 Cookies
-rw-r--r--   1 kjozwiak  staff        0 15 Feb 12:00 Cookies-journal
drwx------@  6 kjozwiak  staff      192 15 Feb 12:00 CrashPad
-rw-------   1 kjozwiak  staff  1048576 15 Feb 12:00 CrashpadMetrics-active.pma
drwx------   4 kjozwiak  staff      128 15 Feb 12:00 Download Service
drwx------   3 kjozwiak  staff       96 15 Feb 12:00 Extensions
-rw-r--r--@  1 kjozwiak  staff    20480 15 Feb 12:00 Favicons
-rw-r--r--@  1 kjozwiak  staff        0 15 Feb 12:00 Favicons-journal
drwx------   7 kjozwiak  staff      224 15 Feb 12:00 GPUCache
-rw-r--r--@  1 kjozwiak  staff   114688 15 Feb 12:00 History
-rw-r--r--@  1 kjozwiak  staff        0 15 Feb 12:00 History-journal
-rw-------   1 kjozwiak  staff       97 15 Feb 12:00 Local State
drwx------   3 kjozwiak  staff       96 15 Feb 12:00 Local Storage
-rw-------   1 kjozwiak  staff   459569 15 Feb 12:00 SafeBrowsingData.dat
drwx------   3 kjozwiak  staff       96 15 Feb 12:00 ShaderCache
-rw-------   1 kjozwiak  staff    69998 15 Feb 12:00 TrackingProtection.dat
-rw-------   1 kjozwiak  staff    10890 15 Feb 12:00 UserPrefs
-rw-r--r--   1 kjozwiak  staff   131072 15 Feb 12:00 Visited Links
-rw-r--r--   1 kjozwiak  staff    51200 15 Feb 12:00 Web Data
-rw-r--r--   1 kjozwiak  staff        0 15 Feb 12:00 Web Data-journal
-rw-------   1 kjozwiak  staff  8554593 15 Feb 12:00 httpse.json
drwxr-xr-x   2 kjozwiak  staff       64 15 Feb 12:00 ledger-favicons
drwxr-xr-x   7 kjozwiak  staff      224 15 Feb 12:00 ledger-rulesV2.leveldb
-rw-------   1 kjozwiak  staff    15416 15 Feb 12:00 session-store-1
-rw-r--r--   1 kjozwiak  staff      204 15 Feb 12:00 updateLog.log

If you compare the above files with yours, is there anything that stands out?


#5

Crashpad folder is 215GB! 100k files with each about 2MB… this is the second install. happened on the first as well, but since I didnt use it that much, it only swell up to 32 GB…

drwx------ 50 BardoTotum staff 1700 Feb 15 14:37 .
drwx------+ 123 BardoTotum staff 4182 Feb 15 11:42 …
-rw-r–r--@ 1 BardoTotum staff 10244 Feb 15 11:44 .DS_Store
-rw------- 1 BardoTotum staff 2054814 Feb 15 11:30 ABPFilterParserData.dat
-rw------- 1 BardoTotum staff 0 Feb 15 14:37 ABPFilterParserData.dat.temp
drwx------ 7 BardoTotum staff 238 Feb 15 14:37 Cache
-rw-r–r-- 1 BardoTotum staff 0 Feb 10 02:46 Consent To Send Stats
-rw-r–r-- 1 BardoTotum staff 163840 Feb 15 11:32 Cookies
-rw-r–r-- 1 BardoTotum staff 0 Feb 15 11:32 Cookies-journal
drwx------@ 7 BardoTotum staff 238 Feb 15 11:44 CrashPad
-rw------- 1 BardoTotum staff 1048576 Feb 15 14:37 CrashpadMetrics-active.pma
-rw------- 1 BardoTotum staff 1048576 Feb 15 12:24 CrashpadMetrics.pma
drwx------ 5 BardoTotum staff 170 Feb 15 11:44 Download Service
drwx------ 7 BardoTotum staff 238 Feb 15 11:44 Extensions
-rw-r–r--@ 1 BardoTotum staff 20480 Feb 10 02:46 Favicons
-rw-r–r--@ 1 BardoTotum staff 0 Feb 10 02:46 Favicons-journal
drwx------ 8 BardoTotum staff 272 Feb 15 11:44 File System
drwx------ 7 BardoTotum staff 238 Feb 10 02:46 GPUCache
-rw-r–r--@ 1 BardoTotum staff 1048576 Feb 15 14:37 History
-rw-r–r--@ 1 BardoTotum staff 0 Feb 15 14:37 History-journal
drwx------ 14 BardoTotum staff 476 Feb 15 11:44 IndexedDB
drwx------ 5 BardoTotum staff 170 Feb 15 11:44 Local Extension Settings
-rw------- 1 BardoTotum staff 97 Feb 10 02:47 Local State
drwx------ 4 BardoTotum staff 136 Feb 15 11:44 Local Storage
-rw------- 1 BardoTotum staff 18432 Feb 13 14:43 Login Data
-rw------- 1 BardoTotum staff 0 Feb 13 14:43 Login Data-journal
-rw------- 1 BardoTotum staff 243 Feb 11 01:39 Preferences
-rw-r–r-- 1 BardoTotum staff 53248 Feb 15 12:24 QuotaManager
-rw-r–r-- 1 BardoTotum staff 0 Feb 15 12:24 QuotaManager-journal
-rw------- 1 BardoTotum staff 459569 Feb 15 11:30 SafeBrowsingData.dat
-rw------- 1 BardoTotum staff 0 Feb 15 14:37 SafeBrowsingData.dat.temp
drwx------ 6 BardoTotum staff 204 Feb 15 11:44 Service Worker
drwx------ 11 BardoTotum staff 374 Feb 15 11:30 Session Storage
drwx------ 4 BardoTotum staff 136 Feb 15 11:44 ShaderCache
-rw------- 1 BardoTotum staff 69998 Feb 10 02:46 TrackingProtection.dat
-rw------- 1 BardoTotum staff 0 Feb 15 14:37 TrackingProtection.dat.temp
-rw------- 1 BardoTotum staff 13063 Feb 15 14:37 UserPrefs
drwx------ 8 BardoTotum staff 272 Feb 14 20:04 VideoDecodeStats
-rw-r–r-- 1 BardoTotum staff 131072 Feb 15 14:37 Visited Links
-rw-r–r-- 1 BardoTotum staff 77824 Feb 15 02:20 Web Data
-rw-r–r-- 1 BardoTotum staff 0 Feb 15 02:20 Web Data-journal
drwx------ 2 BardoTotum staff 68 Feb 13 14:42 blob_storage
drwx------ 7 BardoTotum staff 238 Feb 15 11:44 databases
-rw------- 1 BardoTotum staff 8554593 Feb 10 02:47 httpse.json
-rw------- 1 BardoTotum staff 0 Feb 15 14:37 httpse.json.temp
drwxr-xr-x 116 BardoTotum staff 3944 Feb 15 11:35 ledger-favicons
drwxr-xr-x 9 BardoTotum staff 306 Feb 15 14:37 ledger-rulesV2.leveldb
-rw------- 1 BardoTotum staff 3389 Feb 15 14:37 ledger-state.json
-rw------- 1 BardoTotum staff 677880 Feb 15 14:37 session-store-1
-rw-r–r-- 1 BardoTotum staff 68748 Feb 15 14:37 updateLog.log


#6

I stopped using brave for some days and the crashpad folder calmed down. WiIl try to use it again and report back.


#7

Hi All,

On Windows the crashpad folder start to grow. Mine is 126MB and I am not using it too much. Shouldn’t be that big.


#8

@Szefi @DanMercurius could you take a screenshot of chrome://crashes and share it here or via DM


#9

@sriram Can I jump into this thread? I was originally thinking I was having issues with brave and CPU utilization but I am not starting to think that its related to crashing/logs. See here for my original issue Youtube playback stutters / Possible CPU util issues.

What I am thinking is happening is this. There is a constant crash loop happening until I restart brave. The I/O from crashing or just brave handling the crash is killing performance in the browser.

I will look at chrome://crashes next time this is happening to see if this is the case but looking at my log now i think it matches up to the last time I was experiencing issues. As it is now it looks like it was crashing 3-4 / second.

@sriram Was there not just a recent (last month or so) change to logging that increased logging output? I am thinking this is having impact when the browser gets stuck in these crashing loops.


#10

not the whole page, do you need everything?
Seems like the crashes aren’t uploading properly and creating a bottleneck?

I’m only using Brave every now and then, seems to be performing better now.

Cheers!


#11

I saw this thread and decided to check my own Brave folder:

$ du -chd0 ~/Library/Application\ Support/brave
773M	total

That is quite a bit of space, especially considering I don’t even use Brave as my default browser. Looking more into it, there are two culprits for me:

321M	/Users/echosa/Library/Application Support/brave/Cache
354M	/Users/echosa/Library/Application Support/brave/Partitions

Those make up the bulk of the space used. Should I just blow my whole Brave folder away and start fresh? If I do that, will this just keep happening again and again?


#12

@infecto @echosa @DanMercurius thanks for the details. I have passed it on to the dev team and will update you guys on this soon.


#13

I am unable to continue to use Brave as it uses all my resources. Even if I only have the browser open with one tab it uses 80-90% of my CPU resources and it crawls. I have tried multiple things, restarted computer but it keeps getting worse so I have now returned to Firefox. This has started only recently say a month or so. Do you have any recommendations? I have run Malwarebytes and Adware to see if I had a bug that was doing it but to no avail. I am not a developer so not sure what to do but I did like using Brave until I started having these issues. I am on Windows 7 Professional. After reading more I want to mention that I also experienced the dead tabs that I cannot close until I restart Brave.


#14

This is definitely not normal

Try clearing all the inbrowser stored data [cookies, cache, passwords, form fill data, history, bookmarks & rest stored from the beginning of time]
Make sure you dont have any excessive plug-in/extension installed. If the problem still exists, just uninstall browser & manually delete the 250GB brave data folder. Freshly install the browser & make sure to use Incognito mode whenever you’re just surfing around [Like only watching a couple of Youtube videos, or surfing forums/blogs or similar basic surfing stuff]
This will make sure no unnecessary data is stored on your local hard drive.
:slight_smile:


#15

I employed the practices above, was good for a while, then I didnt surf in incognito and after 2 hours crashpad is at 4,3 GB again.


#16

@DanMercurius @BOB-vagene @silversofttail the issue is being investigated. Thanks for the additional information. This will definitely help in narrowing down the issue. We will keep the thread open and will update soon.


#17

Mate :slight_smile:
The issue you’re facing is unusual. I a normal user tried helping you but looks like your situation requires professional attention. I would still suggest you to keep using incognito as it has several benefits. Saves your local disk space, helps gain privacy, doesn’t keep any trackable data like cookies or cache that companies like Google, Amazon & Facebook can use to spy on you. No history or offline cache. Basically incognito is the key. If you seriously like brave & don’t want to shift to any other open source browser (Like Firefox Quantum), I’d thoroughly suggest keep using incognito

.

.

Regards :slight_smile:

  1. Feb 2018 17:26 by brave@discoursemail.com:

#18

Hey there folks! Developer on the desktop product here. Thanks for hanging in there… we just released a patch (0.20.46) which fixes this issue :slight_smile:

Basically, there was a condition that would cause a crash loop. This overloaded our crash reporting servers as well as the hard drives of folks experiencing the issue (as seen by the 250GB folder)

You are SAFE to delete this Crashpad folder. If you wanted to view the contents, you can navigate (in Brave) to chrome://crashes and see the reports queued up. I’d say to delete the folder though and relaunch Brave, just so any further crashes won’t get mixed up with those in the previous release (which had the bug)

Thanks again for your patience- apologies this issue came up


#19

Hey Bud!
The bug has been patched :smiley:
Delete the 250GB folder without any worries. I personally suggest you to completely uninstall brave browser, remove left over residues & folders. Make a fresh reinstall & use it normally :slight_smile: Hopefully this time it works out for you!


#20

Just looked into a low disk space warning, Crashpad directory on my OSX/MacBook pro is 44.1GB!